How to Translate the theme
If this is your first time working with WordPress and you need to know more about this process (or are simply looking for a refresher course), there are numerous resources available online that can assist you. Below is just a small selection of links we’ve compiled to various websites that review this process and will surely help to clear some things up.
- WordPress Codex: Translating WordPress
- WPMU Dev: How to Translate a WordPress Theme
- WPExplorer: Localize & Translate Your WordPress Themes
The theme only comes with a default.po / default.mo in the salient/lang folder - you must rename them to match your desired language set in wp-config.php and translate from there.
Use this plugin to edit the '.po' files in the Dashboard: https://wordpress.org/plugins/loco-translate/
Name the language file to match your language code define the in the wp-config.php file - so if you have
in there, make sure you've named the po file pt_BR.po .
Also make sure the .po/.mo resides inside of the salient/lang folder and no js_composer folder once you've done that hit "rescan" in codestyling localization to get all the theme's strings
Also see video :