Translation / Localization
PredictCart is ready for translation. The plugin includes a .pot file located in languages/predictcart.pot that you can use to create your own translations.
Single Language Sites
If your website caters to a single language audience, translating plugin strings is your primary focus. We recommend using Loco Translate, a powerful WordPress plugin that lets you translate directly from the WordPress admin — no need for external tools or FTP.
Using Loco Translate
- Install and activate Loco Translate from Plugins → Add New.
- Go to Loco Translate → Plugins and select PredictCart.
- Click New Language and choose your language.
- Translate the strings using the built-in editor and save.
Using Poedit (Manual Method)
- Download and install Poedit.
- Open
languages/predictcart.potfrom the plugin folder. - Create a new translation for your language (e.g.,
predictcart-fr_FR.pofor French). - Translate the strings and save — Poedit will generate the
.mofile automatically. - Upload both
.poand.mofiles towp-content/plugins/predictcart/languages/.
The plugin will load the translation automatically based on your WordPress site language.
Multilingual Sites (WPML / Polylang)
If your website serves content in multiple languages, you can use a multilingual plugin such as WPML or Polylang alongside PredictCart.
- WPML — PredictCart strings can be translated via WPML's String Translation module. Go to WPML → Theme and Plugin Localization, find PredictCart, and translate the strings per language.
- Polylang — Works with the
.potfile. Use Loco Translate or Poedit to create separate.pofiles for each language (e.g.,predictcart-fr_FR.pofor French,predictcart-de_DE.pofor German), and switch the site language in Polylang to load the correct one.