DocumentationAliases are accepted where they are unambiguous:
Configuration
The localingos.config.json and .localingos.json fields, plus the eight supported catalogue formats and their aliases.
Config files
Running
localingos init creates two files:localingos.config.json — commit this to your repo. Contains project settings shared with your team and CI.{
"projectId": "a3b7c9d1-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
"sourceLocale": "en-US",
"format": "json-nested",
"sourceFile": "src/i18n/en-US.json",
"outputDir": "src/i18n",
"outputPattern": "{locale}.json"
}.localingos.json — add to .gitignore. Contains your API key for local development only.{
"apiKey": "your-api-key"
}The CLI merges both files. In CI, the API key comes from the LOCALINGOS_API_KEY environment variable instead.Field reference
Supported formats
Set
format to whichever your framework already uses — the CLI reads and writes these natively, so there is no conversion step in your build.json → json-nested, yml → yaml, rails → yaml-rails, gettext → po, flutter → arb.ICU MessageFormat is not a format setting. ICU syntax lives inside your strings and is preserved whichever catalogue format you pick. Note that translation returns the same number of plural forms it was given — it does not expand a two-form source into a language's full CLDR category set.