• Resolved droonss

    (@droonss)


    Hi. Do you have documentation on translating this plugin? I don’t know anything about coding. I’m using the “poedit”. In the “languages”(uipress-lite) folder I see one .pot file, two .po(lite and pro) files, two .json/ files.
    I understand correctly, if I create a translation from .pot, it won’t work(it doesn’t work). Besides the .po/.mo I also need to generate the .json? I don’t understand how. What do I need to translate?

Viewing 1 replies (of 1 total)
  • Plugin Author UiPress

    (@admintwentytwenty)

    Hey, yes because it’s predominately a JS app the translations work a little differently. 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 this command:

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Translation’ is closed to new replies.