Locale type
  • 22 Feb 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Locale type

  • Dark
    Light

Article Summary

A locale is used to customize an application for a specific culture or region, in terms of language and formatting of texts, numbers etc. In Hive, a locale is identified by the two-letter language code as defined by the ISO-639 standard:

Locale.en

A locale can be optionally passed to a function such as Number.toText() to adjust how it is formatted.

The following list of locales is currently supported:

  • ar Arabic
  • da Danish
  • de German
  • el Greek
  • en English
  • es Spanish
  • fi Finnish
  • fr French
  • hi Hindi
  • hu Hungarian
  • it Italian
  • ja Japanese
  • ko Korean
  • nl Dutch
  • pl Polish
  • pt Portuguese
  • ru Russian
  • sv Swedish
  • uk Ukrainian
  • zh Chinese

Was this article helpful?