|
Knowledgebase
EnterprisePlatform
PlatformAPIReact (MCP)CLI
IntegrationsReact (Lingo Compiler)
Alpha
GuidesChangelog

Lingo.dev CLI

  • How it works
  • Setup
  • Quick Start

Configuration

  • Supported Formats
  • i18n.json
  • i18n.lock
  • Supported Locales

Features

  • Existing Translations
  • Adding Languages
  • Overrides
  • Translator Notes
  • Translation Keys
  • Key Renaming
  • Key Locking
  • Key Ignoring
  • Key Preserving
  • Extract Keys with AI

Performance

  • Large Projects
  • Parallel Processing

Retranslation

  • Automatic Retranslation
  • Retranslation
  • Remove Translations

Supported Locales

Max PrilutskiyMax Prilutskiy·Updated about 1 month ago·3 min read

The CLI supports 100+ languages and regional variants.

Universal Support

All languages use standard ISO 639-1 codes for consistency across platforms.

Common Languages#

The most frequently used locales:

LanguageCodeExample
English (US)en or en-USHello
SpanishesHola
FrenchfrBonjour
GermandeHallo
ItalianitCiao
PortugueseptOlá
Japanesejaこんにちは
Koreanko안녕하세요
Chinese (Simplified)zh or zh-CN你好
Chinese (Traditional)zh-TW你好
RussianruПривет
Arabicarمرحبا
Hindihiनमस्ते
DutchnlHallo
PolishplCześć

Regional Variants#

Specify regional dialects for precise localization:

json
{
  "locales": ["en-US", "en-GB", "es-ES", "es-MX", "pt-BR", "pt-PT", "fr-FR", "fr-CA"]
}
  • en-US - United States
  • en-GB - United Kingdom
  • en-CA - Canada
  • en-AU - Australia
  • en-NZ - New Zealand

Example differences:

Keyen-USen-GB
colorColorColour
elevatorElevatorLift
apartmentApartmentFlat

All Supported Locales#

Complete list of ISO 639-1 language codes:

  • af - Afrikaans
  • ar - Arabic
  • bg - Bulgarian
  • bn - Bengali
  • ca - Catalan
  • cs - Czech
  • da - Danish
  • de - German
  • el - Greek
  • en - English
  • es - Spanish
  • et - Estonian
  • fa - Persian
  • fi - Finnish
  • fr - French
  • gu - Gujarati

Configuration#

Specify locales in your config file:

json
{
  "locales": ["en", "es", "fr", "de", "ja"]
}

Or use regional variants:

json
{
  "locales": ["en-US", "en-GB", "es-ES", "es-MX", "pt-BR", "pt-PT"]
}

RTL Language Support#

Right-to-left languages are fully supported:

  • ar - Arabic
  • he - Hebrew
  • fa - Persian
  • ur - Urdu

RTL Handling

The platform automatically detects RTL languages and applies proper text direction in the web editor.

Custom Locale Codes#

Need a custom locale not in the standard list?

bash
lingo config:add-locale --code custom-locale --name "Custom Language"

Or contact support to add official support for new languages.

Locale Fallbacks#

Configure fallback behavior for missing translations:

json
{
  "locales": ["en", "es", "fr"],
  "fallbackLocale": "en"
}

If a key is missing in es, it will fall back to the en translation.

Avoid Over-Reliance on Fallbacks

Fallbacks are useful during development, but ensure all locales have complete translations before shipping to production.

Next Steps#

  • Extract keys with AI to auto-generate translation files
  • Return to Quick Start to begin implementation

Was this page helpful?