bjsion / tongue-tied

Translation and resource management tool
1 stars 0 forks source link

Incorrect Results for Right to Left Languages #101

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Version Info
TongueTied: 20100313
OS: Ubuntu Linux 9.10
Java: 1.6
Browser: Firefox 3.6

What steps will reproduce the problem?
1. Create a new language, selecting arabic,
2. Import an Arabic language file,
3. View fields

What is the expected output? What do you see instead?

Arabic should be right to left in the text box but instead is left to
right. This is causing problems with variables.

What version of the product are you using? On what operating system?

20100313.

OS. Ubuntu Linux 9.10

Please provide any additional information below.

Original issue reported on code.google.com by haydenyo...@gtempaccount.com on 25 Mar 2010 at 1:54

GoogleCodeExporter commented 9 years ago
Hi Hayden,

Any chance you can provide me a sample and/or some screen shots? I have tried to
replicate the error with Hebrew and Arabic (I did not try with Farsi). But it 
appears
fine. The text rendered appears right to left. 

I am assuming you are trying to import a java properties file. If so have you 
escaped
the contents of your properties files using native2ascii? If not what type of 
file
are you using?

Lastly, are you using the embedded version or have you deployed in a webserver? 
If so
which one?

Original comment by bjs...@gmail.com on 28 Mar 2010 at 1:01

GoogleCodeExporter commented 9 years ago
Hi

I've attached the offending file for your reference. In particular, check out 
the
entry jsp.browse.no-results.com. You will notice that while the line should 
start
with .{0} it instead starts with .0} and ends with }.

If I add dir="rtl" to the table cell via Firefox's Firebug add-on, it aligns and
reads correctly.

Original comment by haydenyo...@gtempaccount.com on 29 Mar 2010 at 3:02

Attachments:

GoogleCodeExporter commented 9 years ago
Please find attached an initial patch that we created to improve right-to-left
support for Arabic.

Original comment by haydenyo...@gtempaccount.com on 30 Mar 2010 at 12:04

Attachments: