[ https://issues.apache.org/jira/browse/OFBIZ-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Majid Kalkatechi updated OFBIZ-852: ----------------------------------- Attachment: header.patch hi chris, Thanks for your suggestions. 1. I attached one new file and I hope this will help much better. 2. parenthesis has different code when they are used in rtl languages and right-parenthesis code will become left-parenthesis code because '(' must be seen as ')' , in rtl languages. When we use .properties files its the job of translator to be aware of this, but as we can see, Locale.getDisplayName will return same string, even if the locale is rtl. To test what will happen, if the page is rtl, put dir="rtl" in the body tag or direction="rtl" in main.css, and you will see the side effect of changing the direction. 3. If the location of language select box is changed then I will change that place to became appropriate for this sort of languages. > presenting languages and countries as "English - United State" instead of > "English (United States)" because of right-to-left problems > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-852 > URL: https://issues.apache.org/jira/browse/OFBIZ-852 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Reporter: Majid Kalkatechi > Priority: Trivial > Attachments: header.ftl, header.patch > > > In right-to-left languages(like Farsi,Arabic,...), language options will > became like : ")English (United State ", this is because of parenthesis that > is not became right-to-left properly. If we display the languages and their > countries like "English - United State", instead of "English (United State > )", this problem will be gone. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.