Reputation: 296
I install wordpress in english interface.
After that I install theme(alyeska) which translate to Hebrew languege + <html dir="rtl">
.
Inside the the theme folder there is lang\alyeska.po
I made some steps to be translation the alyeska.po:
I open the file alyeska.po with Poedit and change onw of the raw and I saved it as he-il.po
I edit the file function.php and add the line <?php load_theme_textdomain('alyeska'); ?>
wich I don't know if it is right ('alyeska')
or need other value.
I open the file wp-config.php and add the line define ('WPLANG', 'he-il');
The translation theme not working.
What I miss here ?
Many Thx.
Upvotes: 0
Views: 2957
Reputation: 94
try to change this
define ('WPLANG', 'he-il');
to
define ('WPLANG', 'he_IL');
also,
he-il.po
to
he_IL.po
Upvotes: 2