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

User profile "Wikis" name cannot be overwritten from translations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 12.7.1
    • Fix Version/s: None
    • Component/s: User - User Profile
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      In XWIki, it is possible to override a translation in order to have a different name for a given element. In the case of user profile "Wikis" section, the "Wikis" name cannot be changed by assigning a different translation to its translation key.

      platform.wiki.menu.userwikis=Wiki This translation is deprecated in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-ui/xwiki-platform-wiki-ui-mainwiki/src/main/resources/WikiManager/Translations.xml#L76 but is still used in https://github.com/xwiki/xwiki-platform/blob/52a7286987dfe28fe8a8affd1006778ba9ca88e8/xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-ui/xwiki-platform-wiki-ui-mainwiki/src/main/resources/WikiManager/UserWikiSheet.xml#L605

      While this translation is in a translation wiki page visible in the entire wiki, the translation cannot be overwritten in another translation wiki page.

      The other user profile categories names are translated in platform.core.profile.category.-form translations, in ApplicationResources.properties. In order to align Wikis category with the rest, its name should be translated in the same place with the key platform.core.profile.category.wikis.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            acotiuga Alex Cotiugă
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: