Main menu

Language pack converter

The file format converter doesn't require a Loco account

We've put some of Loco's import and export features in to a public Language Pack Converter. This tool allows you to convert between some common file formats.

Example use cases

Supported file formats

The import and export formats available supported by the Loco converter are the same as those supported by the full Loco system.

Specifying Languages

Depending on what formats you're converting between you may not need to specify which languages are in your files. However, in some situations you may need more control.

The source language defaults to English and in most cases you don't need to specify it. Generally the source language is only used when you don't specify a target language and your input file contains only a single language.

For example, converting a JSON file that simply contains { "foo": "Bar" } to an iOS strings file will result in a file containing "foo" = "Bar"; The source language served no special purpose, except the file will contain some useful comments to show what language it contains.

The target language should be specified under two circumstances:

  1. When the exported file needs to have language-specific data in it, such as Gettext PO.
  2. When you are importing a file containing multiple languages and want to extract a specific one.

Exporting multiple languages

If you're converting a multi-language file into a format that only supports only a single language, leave the target language blank. In this situation, multiple files will be zipped into a single archive for download. An example of this would be converting a TMX file containing more than two languages to a PO file.

Some export formats support multiple locales, and these will never be zipped. An example of this would be a converting TMX to XLIFF.

Last updated by