View Full Version : Right To Left Languages?
Is There a way to change EVERYTHING
Right to left ?
the language , everything .
Thanks Alot For Helps !
I Love This soft
Are you running on pure RTL system ?
Hmm No
My Opearting System
its
Windows 7 Build 7201 64bit English
my windows support RTL but a older build not this build .
What to do ?
Thanks
[ in notepad i can do Ctrl + Shift and its RTL ]
*edit*
maybe its can help you
http://up83.siz.co.il/up2/yxzt2ca2emtz.jpg
jmarshall
2009-06-16, 01:11
The RSS can clearly not be translated automatically. I believe it works fine if you set the RSS feed to a Hebrew source. There is a couple of switches available in settings if not.
You'll need to be more specific about what is and what isn't working correctly.
Cheers,
Jonathan
The RSS can clearly not be translated automatically. I believe it works fine if you set the RSS feed to a Hebrew source. There is a couple of switches available in settings if not.
You'll need to be more specific about what is and what isn't working correctly.
Cheers,
Jonathan
All Working good i just want everything in Right to left
the menu and all this ..
Thanks
jmarshall
2009-06-16, 02:06
So what isn't right to left?
Cheers,
Jonathan
The Subtitle And all the menus i hope you understand in this picture
http://up82.siz.co.il/up3/znjymoqzwhng.jpg
Thanks
anyone can help me please ?
On a pure RTL system, the window layout is different. We draw from the right instead of left. We can force this to be done on non-pure system as well ( via windows api ) but it has some side effects at least in xp. Can you test this on a pure RTL system and post screenshots ?
Text can be done automatically but images are different story. Most images look fine in both RTL and NON-RTL systems but some however required to be RTL specific.
jmarshall
2009-06-17, 09:20
Indeed, we can't do anything about the layout. We can, however, force the text to be displayed in the correct manner. It should be working anyway. We already have libfribidi doing the work, and as far as I'm aware, it should be automatic. If it's not working as it should (I have no idea - I cannot read non-western languages) then someone needs to tell me _exactly_ what's wrong, _exactly_ how to reproduce (i.e. what it shouldn't look like) and _exactly_ how it should look like when fixed.
I'll see if I can get a Hebrew dev to take a look.
Cheers,
Jonathan
jmarshal:- We can though as explained here for windows by create a windows with WS_EX_LAYOUTRTL as a style or by calling the following function:
SetWindowLong (hWnd,
GWL_EXSTYLE,
GetWindowLong(hWnd,GWL_EXSTYLE) & ~WS_EX_LAYOUTRTL))
http://blogs.msdn.com/michkap/archive/2007/03/11/1857043.aspx
http://msdn.microsoft.com/en-us/library/ms903932.aspx
jmarshall
2009-06-17, 10:34
We do not use the windows API for any of our layout stuff, so I don't see how that would help.
Thanks for all the posts
but i dont understand what i need to do
to install windows 7 RTL ?
We do not use the windows API for any of our layout stuff, so I don't see how that would help.
Well I think we are indirectly though when we try to draw something to the screen. Do we want to have same behavior with Pure and Non-Pure RTL Systems ?
Thanks for all the posts
but i dont understand what i need to do
to install windows 7 RTL ?
If you have access to a pure RTL system, can you test and post a screenshot..
logictester
2009-06-17, 22:01
Indeed, we can't do anything about the layout. We can, however, force the text to be displayed in the correct manner. It should be working anyway. We already have libfribidi doing the work, and as far as I'm aware, it should be automatic. If it's not working as it should (I have no idea - I cannot read non-western languages) then someone needs to tell me _exactly_ what's wrong, _exactly_ how to reproduce (i.e. what it shouldn't look like) and _exactly_ how it should look like when fixed.
I'll see if I can get a Hebrew dev to take a look.
Cheers,
Jonathan
Just to show you the difference, it's from Aeon, a bit old mod done by Psike, and you can see here what it really should look like when in full RTL
http://img407.imageshack.us/img407/7803/screenshot000y.jpg
http://img206.imageshack.us/img206/4294/screenshot001t.jpg
p.s. - i use XBMC in hebrew and i really don't mind the direction, though some translation strings had to be changed to display the data correctly - like DOWNLOADED % ITEMS OF %, the values are mixed up in the default hebrew strings.xml
logictester:-
Can you post a screenshot using skin PM3.HD ?
logictester
2009-06-17, 23:04
logictester:-
Can you post a screenshot using skin PM3.HD ?
it's actually Psike's screens, and he moded the Aeon skin. I never saw full RTL in any skins.
here is Psike's post:
http://xbmc.org/forum/showpost.php?p=315297&postcount=1
i take you are running non pure RTL system as well ?
logictester
2009-06-18, 00:43
i take you are running non pure RTL system as well ?
yes... :) do you think windows 7 mui pack is enough?
When I say pure, I am mean native system. In other words, you installed windows from windows 7 Arabic or Hebrew Iso image.
I think Psike was using a pure RTL system.
jmarshall
2009-06-18, 01:57
The version of windows you are running will not make one iota of difference: We do NOT use any WinAPI functionality for any layout stuff, whatsoever.
The only way to do this is to modify the skin accordingly.
Cheers,
Jonathan
Yup you are correct .. With the code on NON-RTL xbmc window will flip ( title bar text will be right to left, icons will be left instead of right ) but the contents will remain the same ..
i tired in XP hebrew and still the same problem
so how i modify the skin to do it RTL ?
logictester
2009-06-18, 18:35
i tired in XP hebrew and still the same problem
so how i modify the skin to do it RTL ?
ask Psike as he did it
http://xbmc.org/forum/showpost.php?p=315297&postcount=1