Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3596

Allow I18n mechanism to search for plugin bundles inside the language packs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: l10n & i18n
    • Labels:
      None

      Description

      Currently, language packs provide translations only for bundles located in the English language pack. Non core plugins have to embed all the bundles related to their needs (for every language).

      We want to change this behaviour to make the translation process easier for plugin devs who contribute translations for several plugins into their language. Currently, they have to write the translations in several places (= inside every plugin). We want now the language packs to be able to provide all the translations for every plugin so that this process is centralized into a single place: this will be easier for the contributors and the release process will be simplified.

      To sum up:

      • The English pack will provide all the English messages (= default bundles) for the platform and the core plugins
      • Every Sonar forge plugin will provide only its own English messages (= default bundle)
      • Whatever the message that must be translated (message or rule name /description of Sonar platform, message from a community plugin, ...), the translation will be put inside the corresponding language pack.

      Of course, if a plugin provides its own bundles for every language, this will also work (this is obviously mandatory for plugins that do not belong to the Sonar plugins forge).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fabemn OLD - Fabrice Bellingard
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: