Skip Navigation

WPML allows you to easily create a PO file for any plugin or theme on your site.

PO file contains a list of all texts in a plugin or a theme. Translators then use CAT (Computer-assisted Translation) software or an online service to translate the texts in PO files.

Before you start, make sure you have WPML core and WPML String Translation plugins installed on your site.

Generating a PO file for a plugin

Use the following steps to generate a .po file for a plugin:

  1. Go to WPMLTheme and plugins localization.
  2. Select the plugin you want.
  3. At the bottom of the page click Scan selected plugins for strings.
Scan selected plugins for strings
Scan selected plugins for strings
  1. When scanning is done close the pop-up dialog and click the create PO file button next to that plugin.
Create PO file
Create PO file
  1. Save the .po file.

Generating a PO file for a theme

Use the following steps to generate a .po or .pot file for a theme:

  1. Go to WPMLTheme and plugins localization.
  2. Select the theme you want.
  3. At the bottom of the page, click Scan selected themes for strings.
  4. When scanning is done close the pop-up dialog.
  5. Go to WPMLString translation.
  6. In the Export strings into .po/.pot file section select the text domain of that theme. You can also select whether you want to include the translations.
Select the theme's domain
Select the theme’s domain
  1. Click the Submit button.