You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Peter Goron (JIRA)" <ji...@apache.org> on 2006/06/22 09:21:29 UTC
[jira] Created: (OFBIZ-45) availableLocales property does not
handle country_code during parsing
availableLocales property does not handle country_code during parsing
---------------------------------------------------------------------
Key: OFBIZ-45
URL: http://issues.apache.org/jira/browse/OFBIZ-45
Project: The Open For Business Project
Type: Bug
Components: framework
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
[jira] Resolved: (OFBIZ-45) availableLocales property does not
handle country_code during parsing
Posted by "Si Chen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-45?page=all ]
Si Chen resolved OFBIZ-45.
--------------------------
Resolution: Fixed
> 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
[jira] Updated: (OFBIZ-45) availableLocales property does not
handle country_code during parsing
Posted by "Peter Goron (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-45?page=all ]
Peter Goron updated OFBIZ-45:
-----------------------------
Attachment: availableLocales.path
> availableLocales property does not handle country_code during parsing
> ---------------------------------------------------------------------
>
> Key: OFBIZ-45
> URL: http://issues.apache.org/jira/browse/OFBIZ-45
> Project: The Open For Business Project
> Type: Bug
> Components: framework
> 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
[jira] Commented: (OFBIZ-45) availableLocales property does not
handle country_code during parsing
Posted by "Si Chen (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (OFBIZ-45) availableLocales property does not
handle country_code during parsing
Posted by "Si Chen (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (OFBIZ-45) availableLocales property does not
handle country_code during parsing
Posted by "Peter Goron (JIRA)" <ji...@apache.org>.
[ 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
[jira] Assigned: (OFBIZ-45) availableLocales property does not
handle country_code during parsing
Posted by "Si Chen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/OFBIZ-45?page=all ]
Si Chen reassigned OFBIZ-45:
----------------------------
Assignee: Si Chen
> 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