Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31859

Fields group names are not translated

    XMLWordPrintable

Details

    Description

      The customer observed that field group name translations (configured according to the documentation) are not taken into account.

      Steps to reproduce:
      1. Add a new language in the BO e.g. ger-DE.
      2. Add this language under admin_group.languages key in ezplatform.yml.
      3. Configure field groups as follows:

      ezplatform:
          repositories:
              default:
                  fields_groups:
                      list: [metadata, content, contact]
      

      4. Add a new file translations/ezplatform_fields_groups.de.yaml and put there the following lines:

      metadata: 'Metadaten'
      content: 'Inhalt'
      contact: 'Kontakt'
      

      5. Clear the cache and log into the Back Office.
      6. Create a new CT test and add 3 text lines. Assign each text line to a different group/category (metadata, content, contact).
      7. Create a new content object of test CT in ger-DE language.

      Result:
      The group names are not translated into German.

      Note:
      Setting the default language of the BO to German using User Preferences and ezplatform-i18n/ezplatform-i18n-de_DE does not make any difference.

      Attachments

        Activity

          People

            Unassigned Unassigned
            konrad.oboza@ibexa.co Konrad Oboza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: