Translating UiPress works the same as any other WordPress plugin, you can use your desired tool to generate .po and .mo files and place them in the languages folder. However, as it’s predominately a JS app the translations work a little differently and there is one extra step you must take to load all the strings.

You need to create a JSON from the .po file – this can be done locally if you have a little development knowledge, you just need to install po2json and run the below command (amending the ‘fr_FR’ to the language you are translating)

po2json uipress-lite-fr_FR.po uipress-lite-fr_FR-uip-translations.json -f jed1

There is also a website that can process this for you: https://www.wpeform.io/tools/make-po-to-json/

Once on the web page enter the following details:

  • Script Handle: uip-translations
  • Translation Domain: uipress-lite
  • Locale Id: fr_FR (French for example, change to your language)

Upload the .po file that includes your translations and click the generate JSON button. Place the file it generates in the plugin translations folder (where you would normally place the .po files) and uiPress should now be in the language you translated it to.

If you would like to share your translations then feel free to send them to us and we can include them in the core plugin.