[ 
https://issues.apache.org/jira/browse/OFBIZ-852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485014
 ] 

Chris Howe commented on OFBIZ-852:
----------------------------------

After changing the direction to rtl in the body tag, my first impression is 
that your ultimate solution for right to left languages is going to need to be 
much more involved than simply the single declaration.   I'm not even convinced 
that it can be solved satisfactorily with CSS alone.

In regards to #2, my point is that English (United States) in the drop down 
should aloways disply both ltr and aligned left regardless of what the current 
locale is.  Likewise, Arabic (Nationality) should always read rtl and be right 
aligned.  This would suggest that there is a conditional on the <option 
class=""> or <option lang=""> in the template.

The <option lang=""> seems like a more robust solution (and naturally carry 
over to additional elements) as if the browser doesn't do anything with the 
information, javascript can play with it as the language setting will be in the 
DOM for each element that needs it.

There is an additional CSS property (does not work on opera or safari)
unicode-bidi: bidi-override;
That along with rtl will reverse the order of the characters.
http://www.topxml.com/css/css_property_unicode-bidi.asp

I don't know if this is beneficial or not as I'm unable to read any right to 
left language.

> 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.

Reply via email to