Docs

Supported Languages

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

  • Chinese Simplified (Mainland) - zh-CN
  • Chinese Traditional (Taiwan) - zh-TW
  • English (USA) - en-US
  • French (France) - fr-FR
  • German (Germany) - de-DE
  • Italian (Italy) - it-IT
  • Japanese (Japan) - ja-JP
  • Korean (Korea) - ko-KR
  • Portuguese (Brazil) - pt-BR
  • Russian (Russia) - ru-RU
  • Spanish (Spain) - es-ES

  • 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.getLangauges();
    
    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",
        ...
    ]
     */