[ 
https://issues.apache.org/jira/browse/OFBIZ-9514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradhan Yash Sharma updated OFBIZ-9514:
---------------------------------------
    Description: 
For Factory Method and LocaleBuilder class to work, we need to pass a 
well-formed variant in setVariant method so that it can be transformed int IETF 
BCP 47 language tag without losing information.
To do so we need to create Locale objects through rule set. Please reference 
https://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.html for 
more details.

  was:
For UtilMisc.parseLocale

Use well-formed IETF BCP 47 language tag for setVariant method in Builder 
object. 

for more reference 
https://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.html


> Use well-formed IETF BCP 47 language tag for setVariant method.  
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-9514
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9514
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>            Reporter: Pradhan Yash Sharma
>
> For Factory Method and LocaleBuilder class to work, we need to pass a 
> well-formed variant in setVariant method so that it can be transformed int 
> IETF BCP 47 language tag without losing information.
> To do so we need to create Locale objects through rule set. Please reference 
> https://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.html for 
> more details.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to