1 kokoko Feb 26, 2007 06:50
3 kokoko Feb 26, 2007 20:28
No matter, I've solved the problem by taking a german translation and simply saving it in UTF-8 encoding.. i'm translating it to hebrew right now... just one last question, it has been said here in this forum that you can add dir=rtl in order to get the page to move to right to left, where do i write this command? on which page?
4 blueyed Feb 26, 2007 21:21
You have to add
dir="rtl"
to the HTML element in your skin's _main.php file, e.g.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php locale_lang() ?>" lang="<?php locale_lang() ?>" dir="rtl">
This will get supported through a locale-property maybe in 2.0.
You can add the "dir" attrib to most elements, e.g. paragraphs ("p"). You could e.g. use dir="ltr" when having english parts.
A link would help a lot. How come no one just guesses at that and shows us the problem page? It's amazing how much we can figure out by looking at your blog for 15 seconds, but ... alas ... :'(
Okay check it out. b2evolution translates stuff from English to whatever locale you've selected for your installation or your blog or your post. Therefore if you're posting in Hebrew you're probably selecting a Hebrew localization, so it should translate the stock phrases for you. It gets complex, and being someone who uses the American version of English it's not something I've learned in great detail, but here's part of what I know: look at your skins/yourskin/_main.php file and see if you can find something like this:
then change it to something like this:
b2evolution's ability to translate that word depends on you having a language file in your locales folder for Hebrew, and for that file to have the proper translation for that phrase. I guess you could also translate directly in the file, but I honestly don't know if that'll work for Hebrew because it doesn't use the latin character set.
Check out http://manual.b2evolution.net/Localization because that's where all the smart stuff about translations is at.
Hope it helps!