[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_12421916 ]
           
Si Chen commented on OFBIZ-45:
------------------------------

How do I reproduce the bug that you're trying to fix?  

I just want to make sure that I'm fixing a bug and not breaking something.

> 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