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:

sources-keywords-poedit
Altering list of sources keywords in Poedit software
  1. Open Poedit software.
  2. Navigate to Catalog » Properties.
  3. Click on the Sources Keywords tab.
  4. Review the list of pre-populated functions and append any keyword that might be missing from the list above.
  5. Click the Ok button to save the changes.

Last updated: 4 weeks ago

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies ― Learn more

Accept