Uploading to Lokalise

Once your app is prepared for localization, it should contain source language (we assume it's English) locale directory. e.g. myapp/locale/en/LC_MESSAGES/default.po . Upload this file to Lokalise using CLI tool:

$ lokalise --token <token> import <project_id> --lang_iso en --file myapp/locales/en.json

Downloading from Lokalise

As the translators are done you need to download the language files from Lokalise:

$ lokalise --token <token> export <project_id> --type json --bundle_structure '%LANG_ISO%.json' --unzip_to myapp/locales/
Did this answer your question?