Supported Languages

The list below outlines currently available languages and their respective locale codes.

  • Arabic - ar-SA
  • Bulgarian (Bulgaria) - bg-BG
  • Catalan (Spain) - ca-ES
  • Chinese Simplified (Mainland) - zh-CN
  • Chinese Traditional (Taiwan) - zh-TW
  • Chinese Traditional (Hong Kong) - zh-HK
  • Croatian (Croatia) - hr-HR
  • Czech (Czech Republic) - cs-CZ
  • Danish (Denmark) - da-DK
  • Dutch (Belgium) - nl-BE
  • Dutch (Netherlands) - nl-NL
  • English (Australia) - en-AU
  • English (Canada) - en-CA
  • English (Ireland) - en-IE
  • English (United Kingdom) - en-GB
  • English (USA) - en-US
  • Finnish (Finland) - fi-FI
  • French (Canada) - fr-CA
  • French (France) - fr-FR
  • German (Germany) - de-DE
  • Greek (Greece) - el-GR
  • Hebrew (Israel) - he-IL
  • Hungarian (Hungary) - hu-HU
  • Indonesian (Indonesia) - id-ID
  • Italian (Italy) - it-IT
  • Japanese (Japan) - ja-JP
  • Korean (Korea) - ko-KR
  • Malay (Malaysia) - ms-MY
  • Norwegian Bokmål (Norway) - nb-NO
  • Polish (Poland) - pl-PL
  • Portuguese (Brazil) - pt-BR
  • Portuguese (Portugal) - pt-PT
  • Russian (Russia) - ru-RU
  • Slovak (Slovakia) - sk-SK
  • Spanish (Argentina) - es-AR
  • Spanish (Latin America) - es-419
  • Spanish (Mexico) - es-MX
  • Spanish (Spain) - es-ES
  • Swedish (Sweden) - sv-SE
  • Thai (Thailand) - th-TH
  • Turkish (Turkey) - tr-TR
  • Ukrainian (Ukraine) - uk-UA

  • List Supported Languages

    Lists all languages supported by Lara that can be used when the language parameter is required in an API request. New languages are automatically added as they become available in Lara.

    # List all supported languages
    languages = lara.languages()
    
    print(languages)
    
    '''
    Prints:
    [
        "de-DE",
        "en-US",
        "it-IT",
        ...
    ]
    '''
    // List all supported languages
    const languages = await lara.getLanguages();
    
    console.log(languages)
    
    /*
    Prints:
    [
        "de-DE",
        "en-US",
        "it-IT",
        ...
    ]
    */
    // List all supported languages
    List<String> languages = lara.getLanguages();
    
    System.out.println(languages);
    
    /*
    Prints:
    [
        "de-DE",
        "en-US",
        "it-IT",
        ...
    ]
    */
    // List all supported languages
    $languages = $lara->getLanguages();
    
    print_r($languages);
    
    /*
    Prints:
    [
        "de-DE",
        "en-US",
        "it-IT",
        ...
    ]
     */
    // List all supported languages
    languages, _ := lara.Languages()
    
    fmt.Println(languages)
    
    /*
    	Prints:
    	[
    	    "de-DE",
    	    "en-US",
    	    "it-IT",
    	    ...
    	]
    */

    Default Languages

    When translating with Lara, it is possible to provide two-code languages for the Translate Text and Translate Document functions. In these cases, the default language listed in the table below will be applied. If no locales are available for a specific language, the only available default language code will be applied.

  • English - en. Default language code applied: en-US
  • Spanish - es. Default language code applied: es-ES
  • French - fr. Default language code applied: fr-FR
  • Portuguese - pt. Default language code applied: pr-BR
  • Chinese - zh. Default language code applied: zh-CN
  • Dutch - nl. Default language code applied: nl-NL