Thread Starter
eemad
(@eemad)
Hi!
It is working now except the Captcha. What should I do to get captcha there?
I did some translating but translation is not working. How to fix this?
Thanks!
It is working now except the Captcha. What should I do to get captcha there?
I see the captcha works fine.
I did some translating but translation is not working. How to fix this?
Please explain how did you do the translation. Did you use the POT file and PO/MO files?
If so please navigate to Dashboard > Comments > Settings admin page and enable “Use Po/MO files” option.
Thread Starter
eemad
(@eemad)
So far it was a cache issue. well, it is fixed now.
I am not clear how to do translation using POT file and PO/MO files. I haven’t found any documentation for that. Can you please shed me some light so that I can do it?
Thanks a lot!
There are several methods to create a translation, most of which are outlined in the WordPress Codex. In most cases you can contribute to the project on translate.wordpress.org, however for creating custom translations you can use wpDiscuz POT file and PoEdit.
wpDiscuz uses PO and MO files to manage translations. wpDiscuz includes a language file (wpdiscuz.pot file) which contains all of the English text. You can find this language file inside the plugin folder in wpdiscuz/wpf-languages/ directory. The wpdiscuz.pot file can be imported into PoEdit to translate.
To get started open PoEdit and go to File > New catalog from POT file. Once you have done this, choose wpdiscuz.pot and PoEdit will show the catalog properties window.
Enter your name and details, so other translators know who you are, and click ‘OK’. You will be prompted to save your .po file. Name it based on what you are translating to, i.e., a IT translation is saved as wpdiscuz-it_IT.po . Now the strings are listed. After translating strings, you can save. The wpdiscuz-it_IT.mo file will be generated automatically.
These two files should be located in wpdiscuz/languages/ directory. Please make sure the po/mo files have wpdiscuz- prefix, without this prefix you’ll they’ll not be processed.
Forum backend and front-end language will be changed once you changed WordPress language to the same language in Dashboard > Settings > General admin page.