[
http://issues.apache.org/jira/browse/OFBIZ-45?page=comments#action_12421924 ]
Si Chen commented on OFBIZ-45:
------------------------------
Hi everybody -
I just tested this patch. It does indeed fix a bug--if you put fr_FR in locales.available, the list shows "fr_fr" instead of "French (French)" when we change it.
If there are no problems, I'd like to commit this patch.
Si
> 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
> Assigned To: Si Chen
> 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