[jira] Commented: (OFBIZ-45) availableLocales property does not handle country_code during parsing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-45) availableLocales property does not handle country_code during parsing

Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-45?page=comments#action_12421919 ]
           
Peter Goron commented on OFBIZ-45:
----------------------------------

Hi Si,

Try to add fr_FR to locales.available property in general.properties and restart ofbiz.

You should see two French entries in locale drop-down instead of  French and French(France).

> availableLocales property does not handle country_code during parsing
> ---------------------------------------------------------------------
>
>                 Key: OFBIZ-45
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-45
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Peter Goron
>            Priority: Minor
>         Attachments: availableLocales.path
>
>
> locale code that contains a language code and a country code are not parsed correctly:
> example :
> fr_FR,es_PE
> The attached patch use UtilMisc.ensureLocale to parse the locale code

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira