Community-powered internationalization for RatePress. Contribute translations, help make the plugin accessible worldwide, and join our global community of translators.
How RatePress handles translations dynamically
Translations stored in a dedicated GitHub repository, automatically updated and maintained by the community.
Plugin automatically downloads translations based on WordPress locale, keeping the core plugin lightweight.
Translation files are versioned and updated automatically when new strings are added to the source code.
The translation loading process
WordPress determines the current language using determine_locale().
Plugin checks if translations exist locally in core/languages/.
If missing or outdated, downloads MO, PO, and JSON files from the remote repository.
WordPress loads the translations using load_plugin_textdomain().
Help make RatePress accessible in your language
Go to the RatePress Languages Repository and click "Fork".
Fork RepositoryClone your forked repository to your local machine:
git clone https://github.com/novincode/ratepress-languages.git cd ratepress-languagesCreate a PO file for your language (replace YOUR_LOCALE with your locale, e.g., fr_FR):
./script/generate-po.sh YOUR_LOCALEThis creates languages/YOUR_LOCALE/ratepress-YOUR_LOCALE.po
Open the PO file with a translation editor like Poedit, or use the Quick Translation method below.
Translate all the msgid strings to your language in the msgstr fields.
Compile your translations:
./script/generate-mo.sh YOUR_LOCALE ./script/generate-json.sh YOUR_LOCALECopy the generated files to your RatePress plugin's core/languages/ folder and test in WordPress.
cp languages/YOUR_LOCALE/* /path/to/wp-ratepress/languages/Commit your changes and create a pull request:
git add . git commit -m "Add YOUR_LANGUAGE translation" git push origin mainThen create a Pull Request on GitHub. You'll be credited as a contributor!
Accelerate your translation process
Generate PO File
./script/generate-po.sh YOUR_LOCALESend to AI for Translation
Copy the content of your PO file and ask an AI like ChatGPT or Claude to translate all the msgid strings to your language.
Review and Save
Review the AI translations, make any necessary corrections, and save the PO file.
Generate Final Files
./script/generate-mo.sh YOUR_LOCALE ./script/generate-json.sh YOUR_LOCALEForce reload translations from the repository
To refresh or update your local translations, simply delete the existing files in core/languages/. The plugin will automatically download the latest versions on the next page load.
rm -rf /path/to/wp-ratepress/languages/*This is useful when new translations are added or updated in the repository.
Current translation status
Check the languages.json file in the repository for the most up-to-date list of supported languages and their completion status.
View Languages JSONHelp make RatePress accessible to users worldwide. Your contributions will be recognized and appreciated by the global WordPress community.