[ 
https://issues.apache.org/jira/browse/OFBIZ-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611062#action_12611062
 ] 

Jacques Le Roux commented on OFBIZ-1698:
----------------------------------------

Bruno,

Something is not clear to me. Your script says :

  Duplication of label CommonDescription found in 
applications/product/config/ProductUiLabels.xml (7 languages)
    Label removed from file applications/product/config/ProductUiLabels.xml

But the label is only moved (sorted) in the file not removed. Is that normal ? 
Are you sure of that "Number of removed labels   : 636" ?
BTW, if we want to remove them we should at least check that a such label 
exists in the right file (here common) and that in this right file there are 
not less languagues and that existing values are the same. Else I suggest to 
write something (both labels)  to allow to do it manually later, rather than 
removing it automatically. It takes a man to do errors, but it takes a machine 
to really screw it up ;o)

> Locale labels in language different from the fallback sometime are not 
> displayed
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1698
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1698
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Bruno Busco
>            Assignee: Jacques Le Roux
>         Attachments: cleanlabels.patch.zip, cleanlabels_1.zip
>
>
> A label is not displayed in the selected language but in the fallback one 
> when ALL the following are true:
> - A language different from the one specified as "locale.properties.fallback" 
> in framework/common/config/general.properties is selected
> - The label is defined in more than one XXXUiLabels.XML file (say 
> File1UiLabels.xml and File2UiLabels.xml)
> - The screen includes first File1UiLabels.xml and then File2UiLabels.xml
> - In File1UiLabels.xml there is NO translation for the selected language
> - In File2UiLabels.xml there is the translation for the selected language
> This bug was not present in Release 4.0 and i think could have been 
> introduced with the new locale system.
> You can check the bug going in the trunk demo in the ecommerce main page and 
> selecting italian. -> Labels "Cart Summary" and "Special Offers" are not 
> translated.
> In the R4.0 demo it is all OK

-- 
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