| [Overview][Types][Classes][Procedures and functions][Variables][Index] |
Removes country information from a language ID.
Source position: lazutf8.pas line 212
procedure LazGetShortLanguageID( |
var Lang: string |
); |
Lang |
|
Language ID examined in the routine. |
LazGetShortLanguageID strips country information from the language ID, making it simpler to use. Ideally the resulting ID should conform to ISO 639-1, or ISO 639-2 when the language code is not in ISO 639-1.