[interchange-i18n] Hebrew locale
Chen Naor
chen at lilux.co.il
Tue Aug 21 22:52:01 UTC 2001
Hello List,
I'm an old Minivend user and I decided that is time to move on to
interchange.
I'm starting to translate the UI to Hebrew (Israel).
I added the file he_IL.cfg to the directory.
The Normal translation is easy and I can see the Hebrew characters with no
problems.
But as usual the main issue with Hebrew is that it is written from right to
left.
I think that a good solution will be to add in the locale files the
variable:
"ltr",
undef, <-- for the left to right languages
"ltr",
"rtl", <-- for the right to left languages (Hebrew & Arabic & Persian)
Now when you need to change the direction of the text, table, page etc' you
just put DIR="[L]ltr[/L]".
I tried to change the page direction by inserting
<html dir=[L]ltr[/L]> in: UI/vars/UI_STD_HEAD
but it was not translate it.
So I ended (for now) doing this:
In UI/pages/admin/login.html I added:
[seti direction]dir=[L]ltr[/L][/seti] <--adding this line
@_UI_STD_HEAD_@
And in UI/vars/UI_STD_HEAD I added:
<html [scratch direction]>
The result is that the entire page is displayed from right to left, and make
mess from all the graphics (it is the result I wanted).
But there always an option to put this variable in other places.
The bad thing in this method is that I have to put the line [seti
direction]dir=[L]ltr[/L][/seti]
in all the pages.
If it will be possible to put it directly in UI/vars/UI_STD_HEAD it will
solve the problem.
So my question is: Is there a way to make the interpolation of the [L] [/L]
tag inside of the vars file (UI_STD_HEAD)?
Thanks in advance
Chen Naor
Lilux Systems.
Israel
http://www.lilux.co.il
email: chen at lilux.co.il
More information about the interchange-i18n
mailing list