ERP Core

Translate WP ERP

You can show WP ERP in your own language. WP ERP translates like other WordPress plugins, with .po, .mo, and .json language files.

Two plugins, two translations

PluginText domainTranslation templateTranslate online
WP ERP (free)erpwp-content/plugins/erp/i18n/languages/erp.potYes, on translate.wordpress.org
WP ERP Proerp-prowp-content/plugins/erp-pro/languages/erp_pro.potNo. Use Poedit or a translation plugin.

The text domain is the name that WordPress uses to find the language files of a plugin. The name of each language file starts with it.

Why WP ERP 2.0 needs one more file

In WP ERP 2.0, the HR screens are built with React. React screens get their text from .json language files, not from the .mo file. So:

  • .json files translate the new HR screens, for example People, Leave, and Reports.
  • The .mo file translates all other screens, for example Accounting, Settings, Company, and Tools.

If you translate with Poedit, make the .json files too. The steps are in Translate the WP ERP Core Plugin. Language packs from translate.wordpress.org and the Loco Translate plugin make the .json files for you.

Where to keep your language files

Put your language files in wp-content/languages/plugins/. WordPress reads this folder first. A plugin update does not delete the files in it.

If you put your files in the plugin folder, the next update of the plugin deletes them.

Set the site language

  1. Go to Settings → General in your WordPress admin.
  2. Select your language in Site Language.
  3. Click Save Changes.

When more than one language is installed, each user can select their own language under Users → Profile → Language.

Translation guides

What changed in 2.0

Was this article helpful to you?

How can we help?