lang.FormatAccounting
lang.FormatAccounting PRECISION CURRENCY NUMBER
Returns a currency representation of a number for the given currency and precision for the current language and region in accounting notation.
lang.FormatCurrency
lang.FormatCurrency PRECISION CURRENCY NUMBER
Returns a currency representation of a number for the given currency and precision for the current language and region.
lang.FormatNumber
lang.FormatNumber PRECISION NUMBER
Returns a numeric representation of a number with the given precision for the current language and region.
lang.FormatNumberCustom
lang.FormatNumberCustom PRECISION NUMBER [OPTIONS...]
Returns a numeric representation of a number with the given precision using negative, decimal, and grouping options.
lang.FormatPercent
lang.FormatPercent PRECISION NUMBER
Returns a percentage representation of a number with the given precision for the current language and region.
lang.Merge
lang.Merge FROM TO
Merge missing translations from other languages.
lang.Translate
lang.Translate KEY [CONTEXT]
Translates a string using the translation tables in the i18n directory.