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

Cannot create content type in french

    XMLWordPrintable

Details

    Description

      when creating a content type and the back office is in french (fre-FR, fr_FR)

      there is an error from a page called during the saving of the content type

      /pjax/contenttype/view/80/fre-FR

      An exception has been thrown during the rendering of a template ("Unable to choose a translation for "

      {0} Non disponible {1} Disponible" with locale "fr_FR" for value "1". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %count% apples").").



      It because of a missing pipe here
      https://github.com/ezplatform-i18n/ezplatform-i18n-fr_FR/blob/master/platform-ui-bundle/content_type.fr_FR.xlf

      Line 58
      <target xml:lang="fr">{0}

      Non disponible

      {1} Disponible</target>
      need to be change to
      <target xml:lang="fr">{0} Non disponible|{1}

      Disponible</target>

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.dejour-obsolete@ez.no Kevin Dejour (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: