Page 1 of 1

Right to left language [Hebrew]

Posted: 04 Sep 2012, 09:02
by iossi
Hello,

I've translated the site in Hebrew.
I've edited the style sheet and added the Hebrew fonts, so now the site is in Hebrew and RTL orientation.
The is one problem I haven't solved:
How can I set right text justify in windows like Input password (for password protected levels) or menu alignment.

Thank you
Iossi

Re: Right to left language [Hebrew]

Posted: 05 Sep 2012, 01:03
by mjau-mjau
I'm afraid this will not be possible.

Re: Right to left language [Hebrew]

Posted: 05 Sep 2012, 04:31
by iossi
Hello mjau-mjau,

Here is my modified style sheet:
body {
text-align: right;
font-size: 13px;
font-family: "Tahoma","Tahoma (Hebrew)", "Arial", "Arial (Hebrew)", "David (Hebrew)", "Courier New (Hebrew)";
color: #FFFFFF;
direction: rtl;

}

Image

Is there any way to set this out ?

Iossi

Re: Right to left language [Hebrew]

Posted: 06 Sep 2012, 03:23
by mjau-mjau
Sorry, what do you mean "set this out"? You can for sure use text-alignment in CSS for some items like you have successfully done ... However, it will not work for other items like the main menu. Unfortunately because of how flash works, several UI elements have been designed to physically align to the left and are not long textfields that would follow text-alignment formatting from CSS. For example, for the menu, we need to print the text into a textfield, and then auto-size it (minimize it), and then position the parent movieClip physically by actionscript.

Sorry, my answer was in general to the main menu unfortunately we have been through this earlier ... Those items that cannot be tweaked by CSS, cannot be tweaked.