TotalContest is made to work with WordPress standard internationalization, by this you can translate the whole plugin into other language using po/mo. However, some sentences that appear on front end are still possible to be translated through wp-admin panel to make life easier for people who are not familiar with po/mo translating.
Translating through wp-admin
Head to Contests > Tools, under Expressions tab, you can translate whatever you want.
Translating by creating po/mo files
You can easily translate a template into other languages by following the instructions:
- Download and install poEdit
- Go to wp-content/plugins/totalcontest/languages/ and make a copy of the file with the name template.pot within the same folder.
- Add the suffix -LANGCODE_COUNTRYCODE to the new file (i.e. the new file will be TotalContest-LANGCODE_COUNTRYCODE.po, where
Now open the new file with poEdit, and translate the strings there. Once you finish translating, Save the changes or press Ctrl + S for windows or CMD + S for mac, and poEdit will take care of creating a customized po and a generated mo files.
If you want to help us translating TotalContest into a new language, please let us know, we’ll be happy to assist you and awarding you for such initiative.
Last updated on March 1, 2017