Change the language
-
How can i change the interface language to arabic? i tried to change the words in the index.php , but after changing it appears( ????????) like that why?
-
i used utf-8 it support arabic language but it’s strange the problem appears in the menu where is categories and links and search and archives these terms when i translate it appears like this (???????)
but in the post area the arabic language appears ok!!!i used utf-8 it support arabic language but it’s strange the problem appears in the menu where is categories and links and search and archives these terms when i translate it appears like this (???????)
but in the post area the arabic language appears ok!!!In what kind of program (editor) are you editing your file? It might have something to do with the keymap and/or how the changes you make are saved, i.e. the ability of your editor to save the changes with utf-8 encoding.
I have had a similar problem when I was trying to edit HTML files in my html-editor and the encoding was set to utf-8 in the meta tags. However just typing in the file with a keyboard set to any other language than English did NOT convert the characters to valid utf-8 code. I had to use another software (www.unipad.org)
On the other hand now if I edit my index.php in the WP admin section, eevn when writing with a different alphabet than Latin I get everything displayed correctly. Maybe I should mention that in my browser the default charset is utf, too.P.S. I have checked again: if I edit my index.php in my html-editor and write in Cyrillic, for example, I get garbage displayed 🙂
Editing in WP admin (edit template) is OK!
On the other hand if you are interested in Arabic version of WP you could start a translation.
You can download the .POT file for translation from here http://wiki.wordpress.org/?pagename=WordPressLocalization and you can read about how to translate here.🙁 oh my GOD , that’s long way to follow. actually all i want is to translate the interface, but the control panel no need to translate it.
hmmm… I’d say that’s even more complicated 🙂 – or should I say pain in the ass? because you would have to do it manually: to find those strings (in different files) that appear only on the index page…
With the localization method used by the WP developers –gettext– ALL the translatable strings are extracted into the POT file, and if they have more occurrences they are translated only once. Which means if you have a word (e.g. “Links”) both in the admin panel and in the index page, once translated in the .po >. mo file – it will appear everywhere translated (provided you upload the respective language.mo file).what i want to translate is the words which appearce to the visitor like: Links: , Categories: , Archives: , Other:
Meta: , Comments
that’s all other stuff to be in english doesn’t matter and dir should be (rtl)You can do that by simply editing the index.php file.
As I said if your html editor does NOT support utf-8 encoding then edit it in the admin panel, that way you will have the correct output for the arabic characters.moshu…………you are perfect you solved my problem everything is done now you can check it out
http://www.articles.al-aidaroos.com/ar i still have one stuff which is making the body and the menu to the right how can i did it from the css
The topic ‘Change the language’ is closed to new replies.