VmGcProfileLocaleSettings#

class VmGcProfileLocaleSettings(user_locale=None, system_locale=None, ui_language=None, *args, **kwargs)#

Bases: object

Language and locale settings for the system and the user.

Parameters:
  • user_locale (max=64 chars) – (user_locale) Per-user settings to be used for formatting dates, times, currency, and numbers. Its value is based on the language-tagging conventions of RFC 3066. The pattern language-region is used, where language is a language code and region is a country or region identifier (for example, en-US, fr-FR, or es-ES).

  • system_locale (max=64 chars) – (system_locale) Default language to use for non-Unicode programs. Its value is based on the language-tagging conventions of RFC 3066. The pattern language-region is used, where language is a language code and region is a country or region identifier (for example, en-US, fr-FR, or es-ES).

  • ui_language (max=64 chars) – (ui_language) Default system language to use to display user interface (UI) items. Its value is based on the language-tagging conventions of RFC 3066. The pattern language-region is used, where language is a language code and region is a country or region identifier (for example, en-US, fr-FR, or es-ES).

property system_locale#

Default language to use for non-Unicode programs. Its value is based on the language-tagging conventions of RFC 3066. The pattern language-region is used, where language is a language code and region is a country or region identifier (for example, en-US, fr-FR, or es-ES).

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property ui_language#

Default system language to use to display user interface (UI) items. Its value is based on the language-tagging conventions of RFC 3066. The pattern language-region is used, where language is a language code and region is a country or region identifier (for example, en-US, fr-FR, or es-ES).

Type:

str

property user_locale#

Per-user settings to be used for formatting dates, times, currency, and numbers. Its value is based on the language-tagging conventions of RFC 3066. The pattern language-region is used, where language is a language code and region is a country or region identifier (for example, en-US, fr-FR, or es-ES).

Type:

str