1) Download or install the Localazy CLI. Itโs available for all major operating systems, as Javaโs JAR and Docker image.
2) Create a configuration script localazy.json
that tells the CLI tool what files to upload and how to process downloaded translations.
TIP: JSON Schema is available for smart completion.
Sample:
{
"writeKey": "your-write-key",
"readKey": "your-read-key",
"upload": {
/** YOUR UPLOAD CONFIGURATION **/
},
"download": {
/** YOUR DOWNLOAD CONFIGURATION **/
}
}
3) Run localazy upload
for uploading your strings to the Localazy platform. Do it whenever you change your source language.
4) Run localazy download
for downloading translation back to your app. Itโs a great idea to make it a part of your build chain.
Note: In this documentation, we always use localazy
as the command that should be invoked. However, the command can be different based on your setup (eg. localazy.exe
on Windows).
You can upload all your existing translations too! Learn more about it.
Localazy CLI is simple to start yet flexible enough for any project. Letโs take a quick tour.