Appendix D. Locale IDs

The following table lists the locale IDs used by the GetLocale and SetLocale functions. The GetLocale function returns a Long containing the decimal locale ID. In most cases, the SetLocale function accepts a locale ID in the form of a decimal, a hexadecimal, or a string value.

Locale

Decimal ID

Hex ID

String ID

Afrikaans

1078

&h0436

af

Albanian

1052

&h041C

sq

Arabic (No location)

1

&h0001

ar

Arabic (United Arab Emirates)

14337

&h3801

ar-ae

Arabic (Bahrain)

15361

&h3C01

ar-bh

Arabic (Algeria)

5121

&h1401

ar-dz

Arabic (Egypt)

3073

&h0C01

ar-eg

Arabic (Iraq)

2049

&h0801

ar-iq

Arabic (Jordan)

11265

&h2C01

ar-jo

Arabic (Kuwait)

13313

&h3401

ar-kw

Arabic (Lebanon)

12289

&h3001

ar-lb

Arabic (Libya)

4097

&h1001

ar-ly

Arabic (Morocco)

6145

&h1801

ar-ma

Arabic (Oman)

8193

&h2001

ar-om

Arabic (Qatar)

16385

&h4001

ar-qa

Arabic (Saudi Arabia)

1025

&h0401

ar-sa

Arabic (Syria)

10241

&h2801

ar-sy

Arabic (Tunisia)

7169

&h1C01

ar-tn

Arabic (Yemen)

9217

&h2401

ar-ye

Azeri (Latin)

1068

&h042C

az-az

Basque

1069

&h042D

eu

Belarusian

1059

&h0423

be

Bulgarian

1026

&h0402

bg

Catalan

1027

&h0403

ca

Chinese (No location)

4

&h0004

zh

Chinese (China)

2052

&h0804

zh-cn

Chinese (Hong Kong S.A.R.)

3076

&h0C04

zh-hk

Chinese (Singapore)

4100

&h1004

zh-sg

Chinese (Taiwan)

1028

&h0404

zh-tw

Croatian

1050

&h041A

hr

Czech

1029

&h0405

cs

Danish

1030

&h0406

da

Dutch (The Netherlands)

1043

&h0413

nl

Dutch (Belgium)

2067

&h0813

nl-be

English (No location)

9

&h0009

en

English (Australia)

3081

&h0C09

en-au

English (Belize)

10249

&h2809

en-bz ...

Get VBScript in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.