How can I translate po file ?
I translated po file but nothing changed!
After creating your po file you need to convert into a .mo file.
If you are using linux then you can use the following command:
msgfmt file.po -o file.mo
If the command is not available you need to install the package gettext (on Linux)
Thank you in advance
I copied AR_SA language from /playsms/plugin/language/ to fa_IR and translated it.
and changed config.php file and header of .po file to persian fa_IR.
and ran the msgfmt to create mo file.
but nothing translated and playsms show English language.
Did you change the language in ‘Default language’ in the Menu Settings > General Settings > Default site configuration or in My Account > Settings > default language ?
Yes. i changed it. But nothing changed.
I clone ar_SA from playsms/plugin/language/ to fa_IR
and changed config.php file for fa_IR and translated Messages.po to Persian and changed the header too.
after that I create .mo file with msgfmt file.po -o file.mo command.
now I see Persian language in Playsms preference menu. but nothing translated and everything is English.
whats the problem ?