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

TSysLocale

Type describing the current locale

Declaration

Source position: sysinth.inc line 170

type TSysLocale = record

  DefaultLCID: Integer;

  

Default locale ID

  PriLangID: Integer;

  

Primary language ID

  SubLangID: Integer;

  

Sub-language ID

  case Byte of

    1: (

        FarEast: Boolean;

  

Multi-Byte Character Set used

        MiddleEast: Boolean;

  

Reading direction is Right-to-left

      );

    2: (

        MBCS: Boolean;

  

Multi-Byte Character Set used

        RightToLeft: Boolean;

  

Reading direction is Right-to-left

      );

end;

Description

TSysLocale describes the current locale. If Fareast or MBCS is True, then the current locale uses a Multi-Byte Character Set. If MiddleEast or RightToLeft is True then words and sentences are read from right to left.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.