Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1897

LanguageTool integration: Enable user to add new style rules

    XMLWordPrintable

Details

    • Low

    Description

      Issue general description

      LanguageTool integration: Enable users to add words to a client specific languagetool rules for style checks.

      Show client specific rules

      There should be a panel, that lists all client specific rules.

      The panel should be showable in the clients panel and inside the editor, when a task of this client is edited and the user has the right to edit client specific rules.

      The panel should have the same properties, that you can find at https://community.languagetool.org/rule/list?lang=de-DE :

      • Beschreibung/Description
      • Beispiel/Example
      • Fehlermeldung/Error message
      • Kategorie/Category

      It should be filterable and sortable along these properties.

      A click on the row in the panel should open a window where the contents look identical to the contents of the page https://community.languagetool.org/rule/show/ANS_HERZ_GEWASCHEN?lang=de-DE&subId=1 except that instead of the field "Muster" you simply can edit the xml of the rule in a form field. Also it should be linked to the rule editor of languageTool.

      In the grid itself there should be an action icon to delete a rule and one to edit a rule. In addition there should be a button to add a new rule, that opens a window comparable to the window to edit a rule, except that it only has the fields "rule" for the xml of the rule and "Category". All other fields for the rule should be extracted from the rule xml.

      Define, who is allowed to edit rules of a client

      Who can edit client-specific rules is defined in the user management (here the default is set by user) and in the client management (here the default by user can be overwritten). By default every user can NOT edit client-specific dictionaries.

      Architecture questions

      The rest API to be used does not exist yet and will be developed by languageTool. It will be similar to the API for the dictionaries, that can be found here: https://languagetoolplus.com/http-api

      Attachments

        Activity

          People

            Ines-Paul Ines-Paul Baumann (Inactive)
            marcmittag Marc Mittag [Administrator]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: