Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13874

Fix management of translation files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8
    • Fix Version/s: 6.0
    • Component/s: Translations

      Description

      Since changes to "fr_FR" format, mechanism is not consistent everywhere: addons still contribute to fr while fr is copied/initialized from "fr_FR".

      Behaviour is not the same for "en_US" (not copied to en)

      => need to have a consistent behaviour:

      • do not maintain a "messages.properties" file as fallback if not needed (or make its content the same than messages_en.properties)
      • copy en_US messages to both en and en_US
      • copy fr_FR messages to both fr and fr_FR
      • in platform-lang as well as addons contributing their own translation files

      Also update doc (cf NXDOC-50) and Studio behaviour (cf NXS-1922, NXS-2017)

      Also default translations are not consistent (not the same items in en and "fr_FR" in platform-lang -> it would be fairly easy to define a test that checks for inconsistencies)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.