GetLanguageIDs procedure
Return the current language IDs.
Declaration
procedure GetLanguageIDs(var Lang: AnsiString;
var FallbackLang: AnsiString)Arguments
Lang | Primary language. |
FallbackLang | Secondary language. |
Description
GetLanguageIDs returns the current language IDs (an ISO string) as
returned by the operating system. On windows, the
GetUserDefaultLCID
and
GetLocaleInfo calls are used. On other operating systems,
the
LC_ALL,
LC_MESSAGES or
LANG environment
variables are examined.An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
