[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Translations' (#lazutils)

TLanguageID

Record type used to return language and country codes/identifiers for a locale.

Declaration

Source position: translations.pas line 65

type TLanguageID = record

  LanguageID: string;

  

Language ID is the combined values for the LanguageCode and CountryCode members. For example: 'en_US'.

  LanguageCode: string;

  

ISO 639-1 or 639-2 language code. For example: 'en' or 'eng'.

  CountryCode: string;

  

ISO 3166 country code. For example: 'US' or 'USA'.

end;

Description

TLanguageID is the type returned from the GetLanguageID function.

Version info

Added in LazUtils version 3.0.

See also

GetLanguageID

  

Gets a record with the language code and country code for the current system locale.


Version 4.0 Generated 2025-05-03 Home