IO-Mena
Member
Posted 8 months ago #
Hi,
I have translated .PO file of the theme to Arabic, you can copy that file to the wp-content/languages folder, edit the config.php and set the WPLANG and the theme will be translated but it seems not to happened with the PO file, is there something wrong i have did ?
Will the line will be like this
define ('WPLANG','ar','ar_AR');
or something else
Thank you,
Mena
should look like this
define ('WPLANG', 'ar_AR');
also don't you need an ar.mo file?
IO-Mena
Member
Posted 8 months ago #
I have this .mo file, and i will try this way
IO-Mena
Member
Posted 8 months ago #
I'm using an Arabic version of Word press, when i change the line, word pres dashboard goes back to English version ..!
IO-Mena
Member
Posted 8 months ago #
Ohh i forgot to say that, it's working great thank you, but there is the problem with word press dashbord
dominoeffect
Member
Posted 8 months ago #
What problem do you have with the dashboard?
Please elaborate...
IO-Mena
Member
Posted 8 months ago #
When i change the line
define ('WPLANG', 'ar');
to
define ('WPLANG', 'ar_AR');
the wordpress dashboard language switch to English version, although I'm using wordpress in Arabic
IO-Mena
Member
Posted 8 months ago #
Is there to solve this problem, because not only the dashboard switch to Arabic also every thing in the blog from text alignment to any thing was translated in the Arabic WP, although the theme language changed to Arabic
IO-Mena
Member
Posted 6 months ago #
I found that, wen they translated the wordpress version they made the language name in the config.php file to ar not ar_AR like in en_EN
so when i tried the new name ar.mo, it worked fine.
sorry for any disturbance.