Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10919

Locale value for folders must be taken from properties not from the node name

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      Locales for the cms are defined at /hippo:configuration/hippo:frontend/cms/cms-services/localeProviderService. For example by a childnode with two properties country and language. If you set them to "gb" and "en" you would expect that the hippotranslation:locale property on a folder or document for this locale becomes "en_GB". Which is the result of the Locale#toString method.

      Instead, the name of the configuration node for the locale is used. So if that node has the name "english", that will be the value of the hippotranslation:locale property.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bleunis Bert Leunis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: