Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-918

Cleanup/refactor the ApplicationResources* files

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 1.0 B4
    • Localization
    • None
    • internationalization, resources
    • Low

    Description

      • Most of the resources are not used anymore, but were left there for older versions of the skin
      • Some strings make no sense in a language with a different topic, like Japanese, where the verb is after the object.
      • When most of the resources were added, there was no support for {0}

        {1}

        ... placeholders, so the easiest thing to do was to just translate portions of the string, around the variables

      • There are still many strings which are not bundled in the resource file
      • There are some discrepancies between the ApplicationResources.properties and the ApplicationResources_en.properties files, which means that some of the strings in ApplicationResources.properties are replaced by another variant

      So, what needs to be done:
      1. ApplicationResources_en.properties must be merged back into ApplicationResources.properties and removed, so that future conflicts/overrides are eliminated
      2. The whole skin files / wiki documents in the default database must be re-internationalized, making use of the

      {x}

      placeholders
      3. The same thing should be done for the other two versions of the skin in the trunk

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sdumitriu Sergiu Dumitriu
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: