When translating CONJ, the very first step is to make sure to include all keywords that have been used in both theme and companion (PowerPack) plugin in your translation editor software.
Translation tools such as Poedit knows by itself what to look for in a
.php file, and however, since WordPress uses its own wrapper functions to make the development process more accessible, this pre-programmed source of keywords might not be applicable.
Accordingly, we need to let our translation software to know what functions to look for and how to handle them.
Translate functions list
The complete list of the functions that have been used to provide translatable content in both theme and PowerPack plugin are outlined below:
__ _e _n _x _ex _nx esc_attr__ esc_attr_e esc_attr_x esc_html__ esc_html_e esc_html_x _n_noop _nx_noop translate_nooped_plural()
Source of keywords in Poedit
Follow the steps below to enter the list of source keywords in Poedit software:
- Open Poedit software.
- Navigate to Catalog » Properties.
- Click on the Sources Keywords tab.
- Review the list of pre-populated functions and append any keyword that might be missing from the list above.
- Click the Ok button to save the changes.
Last updated: 7 months ago