[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets a record with the language code and country code for the current system locale.
Source position: translations.pas line 192
function GetLanguageID: TLanguageID; |
TLanguageID instance with the language identifier and country code for the current locale.
GetLanguageID is a TLanguageID function which returns a record with language code (in ISO 639-1 or ISO 639-2) and country code (in ISO 3166) for the current system locale. The implementation is based on GetLanguageIDs procedure from the GetText unit, but is rewritten to have the following properties:
GetLanguageID is used in the implementation of routines in the lcltranslator.pas unit, and can be called by other components and classes which use the localization feature.
Added in LazUtils version 3.0.
|
Record type used to return language and country codes/identifiers for a locale. |
Version 3.2 | Generated 2024-02-25 | Home |