Go to the source code of this file.
◆ rtl_Locale
The implementation structure of a locale. 
Do not create this structure direct. Only use the functions rtl_locale_register and rtl_locale_setDefault. The strings Language, Country and Variant are constants, so it is not necessary to acquire and release them. 
 
 
◆ rtl_locale_equals()
Returns true if the locals are equal, otherwise false. 
 
 
◆ rtl_locale_getCountry()
Getter for programmatic name of field, an uppercased two-letter ISO-3166 code. 
- See also
- getDisplayCountry 
 
 
◆ rtl_locale_getDefault()
Common method of getting the current default Locale. 
- Deprecated
- LibreOffice itself does not use this anymore, and client code should not have good use for it either. It may eventually be removed. 
 
 
◆ rtl_locale_getLanguage()
Getter for programmatic name of field, a lowercase two-letter ISO 639-1 or three-letter ISO 639-3 code. 
- See also
- getDisplayLanguage 
 
 
◆ rtl_locale_getVariant()
Getter for programmatic name of field. 
- See also
- getDisplayVariant 
 
 
◆ rtl_locale_hashCode()
Returns the hash code of the locale This. 
 
 
◆ rtl_locale_register()
Register a locale from language, country and variant. 
- Parameters
- 
  
    | language | lowercase two-letter ISO 639-1 or three-letter ISO 639-3 code. |  | country | uppercase two-letter ISO-3166 code. May be null. |  | variant | vendor and browser specific code. May be null. |  
 
 
 
◆ rtl_locale_setDefault()
Sets the default. 
setDefault does not reset the host locale.
- Parameters
- 
  
    | language | lowercase two-letter ISO 639-1 or three-letter ISO 639-3 code. |  | country | uppercase two-letter ISO-3166 code. |  | variant | vendor and browser specific code. See class description. |  
 
- Deprecated
- LibreOffice itself does not use this anymore, and client code should not have good use for it either. It may eventually be removed.