ordermgr -- productsummary.ftl (rev 797259) contains hard coded labels
----------------------------------------------------------------------

                 Key: OFBIZ-2856
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2856
             Project: OFBiz
          Issue Type: Improvement
          Components: order
    Affects Versions: SVN trunk
         Environment: irrelevant; bug in ftl screendef
            Reporter: Carsten Schinzer
            Priority: Minor


line 104 ff. are curremtly defined as:

            <div>
              <#if (sizeProductFeatureAndAppls?size == 1)>
                                Size:
              <#else>
                                Available Sizes:
              </#if>

However, in order to enable proper i18n, these lines should rather read

            <div>
              <#if (sizeProductFeatureAndAppls?size == 1)>
                                ${uiLabelMap.SingleSizeAvailable}:
              <#else>
                                ${uiLabelMap.MultipleSizesAvailable}:
              </#if>

... and corresponding UI Labels added to order/config/OrderUiLables.xml.

I've added the following locales to OrderUiLabels.xml:

    <property key="SingleSizeAvailable">
        <value xml:lang="de">Größe</value>
        <value xml:lang="en">Size</value>
        <value xml:lang="fr">Taille</value>
    </property>
    <property key="MultipleSizesAvailable">
        <value xml:lang="de">Verfügbare Größen</value>
        <value xml:lang="en">Sizes Available</value>
        <value xml:lang="fr">Tailles Disponibles</value>
    </property>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to