Lokalise supports most popular iOS, Android and Web development string file formats. If you would like us to extend support to a new format or format version, just drop us a line. 

Your job is to drag and drop your files all together or one by one. Alternatively you may use our CLI, API or GitHub/GitLab integrations to upload the files. Lokalise will match keys and translations from the files where possible.

To begin, navigate to the project's Uploader by clicking the green button "Upload".

Next, drag and drop the files. 

Lokalise will work out the languages within the files themselves. Some formats carry language settings. If not, the system uses the Google Translate detection engine to detect the language from translations if your file already has any. 

In the interest of compatibility, Lokalise will also scan the filenames for language codes (marked in green below). However do note that this practice is less popular for different reasons. 

In the case that you have a complex folder/filename structure, use Google Chrome to drag and drop the entire folder into Lokalise.

Once the detection is done, you need to review filenames and detected languages and make corrections if needed.

As you can see in the example above, the last file (Strings.sk-SK.resx) was not detected properly, as the language code is not marked in green and the language of the file is Slovak, not English as was detected and shown in the image. Two corrections are necessary in that case. First, set language dropdown to Slovak. Second, replace the non-detected language code with Lokalise placeholder %LANG_ISO%, so once you export keys, the language code will be inserted properly.

Bear in mind again that it is not mandatory to use a language code in filenames. If you keep files organized by folders with language codes, you can set the required bundle structure on the Downloads page later. 

If you are using a custom language code, e.g. sk-SK instead of the standard sk, please do the following after completing the upload:

  • Go to the projects dashboard
  • Click the small triangle near the language for which you need a different code
  • Choose "Language settings..."
  • Enable the "Custom language code" switch
  • Set the desired language code

When all filenames and languages look correct, adjust the upload settings on the right side and click "Import the files". Do not navigate away from the Uploader until the import is finished.

Once the import is finished, you can review the results right away by clicking the imported/skipped/updated links in each of the files.

Looking for CLI tool upload/download examples? Check out the Filenames article.

Did this answer your question?