Поделиться через


Afrikaans - South Africa

Localization and .NET Passport Services

Microsoft® .NET Passport is language-based; it offers identical authentication functionality to users regardless of the language they speak or their location. Accordingly, Microsoft .NET Passport limits itself to one set of user interfaces (UI) per language.

In some cases, significant differences exist between dialects of a particular language, causing those dialects to be considered unique languages in their own right. Chinese (Traditional and Simplified) and Portuguese (Brazil and Portugal) are examples of this, and .NET Passport supports these distinctions. Microsoft .NET Passport does not support lesser dialectical differences, such as U.S. versus British English.

Microsoft .NET Passport is available in the following 27 languages:

  • Arabic
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Czech
  • Danish
  • Dutch
  • English
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Italian
  • Japanese
  • Korean
  • Norwegian
  • Polish
  • Portuguese (Brazil)
  • Portuguese (Portugal)
  • Russian
  • Slovakian
  • Slovenian
  • Spanish
  • Swedish
  • Thai
  • Turkish

Character-Set Encoding

Character-set encoding has been used in computing for decades, and is commonly an issue in software intended for international use. Participating sites that redirect to the .NET Passport site and send cobranding UI require particular attention because UTF-8 encoding is not supported for cobranding.

Some markets use Windows-based character-set encoding rather than ISO.

Microsoft .NET Passport uses the character sets shown in the following table.

LCID Mapping

To request that .NET Passport display its user interface in a certain language, you pass a locale ID (LCID) to it using the lc parameter on the query string. You can pass any of 227 LCIDs to request a certain language for the user interface. The LCID is mapped to the appropriate language, allowing .NET Passport to host one version of the user interface for each language supported.

Through mapping shown in the following table, Microsoft .NET Passport maintains the concept of locale by maintaining the original LCID passed in state. This allows .NET Passport to show country/region-specific formatting for date and first/last name, and to display the appropriate country/region listed by default on the registration page.

Language and country/region

LCID (hex)

LCID (decimal)

Maps to LCID

Maps to UI language

Afrikaans - South Africa

0436

1078

1033

English

Albanian - Albania

041c

1052

1033

English

Amharic - Ethiopia

045e

1118

1033

English

Arabic - Algeria

1401

5121

1025

Arabic

Arabic - Bahrain

3c01

15361

1025

Arabic

Arabic - Egypt

0c01

3073

1025

Arabic

Arabic - Iraq

0801

2049

1025

Arabic

Arabic - Jordan

2c01

11265

1025

Arabic

Arabic - Kuwait

3401

13313

1025

Arabic

Arabic - Lebanon

3001

12289

1025

Arabic

Arabic - Libya

1001

4097

1025

Arabic

Arabic - Morocco

1801

6145

1025

Arabic

Arabic - Oman

2001

8193

1025

Arabic

Arabic - Qatar

4001

16385

1025

Arabic

Arabic - Saudi Arabia

0401

1025

1025

Arabic

Arabic - Syria

2801

1024

1025

Arabic

Arabic - Tunisia

1c01

7169

1025

Arabic

Arabic - U.A.E.

3801

14337

1025

Arabic

Arabic - Yemen

2401

9217

1025

Arabic

Armenian - Republic of Armenia

042b

1067

1033

English

Assamese - India

044d

1101

1033

English

Azeri (Cyrillic) - Azerbaijan

082c

2092

1033

English

Azeri (Latin) - Azerbaijan

042c

1068

1033

English

Basque - Spain

042d

1069

1033

English

Belarusian - Belarus

0423

1059

1033

English

Bengali - Bangladesh

0845

2117

Not supported

Bengali - India

0445

1093

1033

English

Bulgarian - Bulgaria

0402

1026

1033

English

Burmese - Myanmar

0455

1109

1033

English

Catalan - Spain

0403

1027

1033

English

Cherokee

045c

1116

1033

English

Chinese - Hong Kong SAR

0c04

3076

1028

Chinese (Traditional)

Chinese - Macau SAR

1404

5124

2052

Chinese (Simplified)

Chinese - People's Republic of China

0804

2052

2052

Chinese (Simplified)

Chinese - Singapore

1004

4100

2052

Chinese (Simplified)

Chinese - Taiwan

0404

1028

1028

Chinese (Traditional)

Classic Lithuanian - Lithuania

0827

2087

1033

English

Croatian - Bosnia/Herzegovina

101a

4122

1033

English

Croatian - Croatia

041a

1050

1033

English

Czech - Czech Republic

0405

1029

1029

Czech

Danish - Denmark

0406

1030

1030

Danish

Divehi - Maldives

0465

1125

1033

English

Dutch - Belgium

0813

2067

1043

Dutch

Dutch - Netherlands

0413

1043

1043

Dutch

Dzongkha - Bhutan

0851

2129

Not supported

Edo - Nigeria

0466

1126

Not supported

English - Australia

0c09

3081

1033

English

English - Belize

2809

10249

1033

English

English - Canada

1009

4105

1033

English

English - Caribbean

2409

9225

1033

English

English - Hong Kong SAR

3c09

15369

1033

English

English - India

4009

16393

1033

English

English - Indonesia

3809

14345

1033

English

English - Ireland

1809

6153

1033

English

English - Jamaica

2009

8201

1033

English

English - Malaysia

4409

17417

1033

English

English - New Zealand

1409

5129

1033

English

English - Republic of the Philippines

3409

13321

1033

English

English - Singapore

4809

18441

1033

English

English - South Africa

1c09

7177

1033

English

English - Trinidad y Tobago

2c09

11273

1033

English

English - United Kingdom

0809

2057

1033

English

English - United States

0409

1033

1033

English

English - Zimbabwe

3009

12297

1033

English

Estonian - Estonia

0425

1061

1033

English

Faeroese - Faeroe Islands

0438

1080

1033

English

Farsi - Iran

0429

1065

1033

English

Filipino - Republic of the Philippines

0464

1124

1033

English

Finnish - Finland

040b

1035

1035

Finnish

French - Belgium

080c

2060

1036

French

French - Cameroon

2c0c

11276

1036

French

French - Canada

0c0c

3084

1036

French

French - Congo (DRC)

240c

9228

1036

French

French - Cote d'Ivoire

300c

12300

1036

French

French - France

040c

1036

1036

French

French - Haiti

3c0c

15372

1036

French

French - Luxembourg

140c

5132

1036

French

French - Mali

340c

13324

1036

French

French - Morocco

380c

14348

1036

French

French - North Africa

e40c

58380

1036

French

French - Principality of Monaco

180c

6156

1036

French

French - Reunion

200c

8204

1036

French

French - Senegal

280c

10252

1036

French

French - Switzerland

100c

4108

1036

French

French - West Indies

1c0c

7180

1036

French

Frisian - Netherlands

0462

1122

1033

English

Fulfulde - Nigeria

0467

1127

Not supported

Gaelic - Ireland

083c

2108

1033

English

Gaelic - Scotland

043c

1084

1033

English

Galician - Spain

0456

1110

1033

English

Georgian - Georgia

0437

1079

1033

English

German - Austria

0c07

3079

1031

German

German - Germany

0407

1031

1031

German

German - Liechtenstein

1407

5127

1031

German

German - Luxembourg

1007

4103

1031

German

German - Switzerland

0807

2055

1031

German

Greek - Greece

0408

1032

1032

Greek

Greek - Greece

2008

8200

1032

Greek

Guarani - Paraguay

0474

1140

Not supported

Gujarati - India

0447

1095

1033

English

Hausa - Nigeria

0468

1128

Not supported

Hawaiian - United States

0475

1141

Not supported

Hebrew - Israel

040d

1037

1037

Hebrew

Hindi - India

0439

1081

1033

English

Hungarian - Hungary

040e

1038

1038

Hungarian

Ibibio - Nigeria

0469

1129

Not supported

Icelandic - Iceland

040f

1039

1033

English

Igbo - Nigeria

0470

1136

Not supported

Indonesian - Indonesia

0421

1057

1033

English

Inuktitut

045d

1117

1033

English

Italian - Italy

0410

1040

1040

Italian

Italian - Switzerland

0810

2064

1040

Italian

Japanese - Japan

0411

1041

1041

Japanese

Kannada - India

044b

1099

1033

English

Kanuri - Nigeria

0471

1137

Not supported

Kazakh - Kazakhstan

043f

1087

1033

English

Khmer - Cambodia

0453

1107

1033

English

Konkani - India

0457

1111

1033

English

Korean - Korea

0412

1042

1042

Korean

Korean (Johab) - Korea

0812

2066

1042

Korean

Kyrgyz (Cyrillic) - Republic of Kyrgyzstan

0440

1088

1033

English

Lao - Lao

0454

1108

1033

English

Latin

0476

1142

Not supported

Latvian - Latvia

0426

1062

1033

English

Lithuanian - Lithuania

0427

1063

1033

English

Macedonian (FYROM)

042f

1071

1033

English

Malay - Brunei Darussalam

083e

2110

1033

English

Malay - Malaysia

043e

1086

1033

English

Malayalam - India

044c

1100

1033

English

Maltese - Maltese

043a

1082

1033

English

Manipuri - India

0458

1112

1033

English

Marathi - India

044e

1102

1033

English

Mongolian (Cyrillic) - Mongolia

0450

1104

1033

English

Mongolian (Mongolian) - Mongolia

0850

128

1033

English

Nepali - India

0861

2145

1033

English

Nepali - Nepal

0461

1121

1033

English

Norwegian - Norway (Bokml)

0414

1044

1044

Norwegian

Norwegian - Norway (Nynorsk)

0814

2068

1044

Norwegian

Oriya - India

0448

1096

1033

English

Oromo

0472

1138

Not supported

Papiamentu - Netherlands Antilles

0479

1145

Not supported

Pashto - Afghanistan

0463

1123

1033

English

Polish - Poland

0415

1045

1045

Polish

Portuguese - Brazil

0416

1046

1046

Portuguese (Brazil)

Portuguese - Portugal

0816

2070

2070

Portuguese (Portugal)

Punjabi (Arabic) - Pakistan

0846

2118

Not supported

Punjabi (Gurmukhi) - India

0446

1094

1033

English

Rhaeto-Romanic - Rhaeto-Romanic

0417

1047

1033

English

Romanian - Moldava

0818

2072

1033

English

Romanian - Romania

0418

1048

1033

English

Russian - Moldava

0819

2073

1049

Russian

Russian - Russia

0419

1049

1049

Russian

Sami - Sami (Lappish)

043b

1083

1033

English

Sanskrit - India

044f

1103

1033

English

Serbian (Cyrillic) - Serbia

0c1a

3098

1033

English

Serbian (Latin) - Serbia

081a

2074

1033

English

Sindhi - India

0459

1113

1033

English

Sindhi - Pakistan

0859

2137

1033

English

Sinhalese - Sri Lanka

045b

1115

1033

English

Slovak - Slovakia

041b

1051

1051

Slovak

Slovenian - Slovenia

0424

1060

1060

Slovenian

Somali - Somalia

0477

1143

Not supported

Sorbian - Sorbian

042e

1070

1033

English

Spanish - Argentina

2c0a

11274

3082

Spanish

Spanish - Bolivia

400a

16394

3082

Spanish

Spanish - Chile

340a

13322

3082

Spanish

Spanish - Colombia

240a

9226

3082

Spanish

Spanish - Costa Rica

140a

5130

3082

Spanish

Spanish - Dominican Republic

1c0a

7178

3082

Spanish

Spanish - Ecuador

300a

12298

3082

Spanish

Spanish - El Salvador

440a

17418

3082

Spanish

Spanish - Guatemala

100a

4106

3082

Spanish

Spanish - Honduras

480a

18442

3082

Spanish

Spanish - Latin America

e40a

58378

3082

Spanish

Spanish - Mexico

080a

2058

3082

Spanish

Spanish - Nicaragua

4c0a

19466

3082

Spanish

Spanish - Panama

180a

6154

3082

Spanish

Spanish - Paraguay

3c0a

15370

3082

Spanish

Spanish - Peru

280a

10250

3082

Spanish

Spanish - Puerto Rico

500a

20490

3082

Spanish

Spanish - Spain (Modern Sort)

0c0a

3082

3082

Spanish

Spanish - Spain (Traditional Sort)

040a

1034

3082

Spanish

Spanish - United States

540a

21514

3082

Spanish

Spanish - Uruguay

380a

14346

3082

Spanish

Spanish - Venezuela

200a

8202

3082

Spanish

Sutu - Sutu

0430

1072

1033

English

Swahili - Kenya

0441

1089

1033

English

Swedish - Finland

081d

2077

1053

Swedish

Swedish - Sweden

041d

1053

1053

Swedish

Syriac - Syria

045a

1114

1033

English

Tajik - Tajikistan

0428

1064

1033

English

Tamazight (Berber/Arabic)

045f

1119

1033

English

Tamazight (Latin)

085f

2143

1033

English

Tamil - India

0449

1097

1033

English

Tatar - Tatarstan

0444

1092

1033

English

Telugu - India

044a

1098

1033

English

Thai - Thailand

041e

1054

1054

Thai

Tibetan - Tibet

0451

1105

1033

English

Tigrigna - Eritrea

0873

2163

Not supported

Tigrigna - Ethiopia

0473

1139

Not supported

Tsonga - Tsonga

0431

1073

1033

English

Tswana - Tswana

0432

1074

1033

English

Turkish - Turkey

041f

1055

1055

Turkish

Turkmen - Turkmenistan

0442

1090

1033

English

Ukrainian - Ukraine

0422

1058

1033

English

Urdu - India

0820

2080

1033

English

Urdu - Islamic Republic of Pakistan

0420

1056

1033

English

Uzbek (Cyrillic) - Republic of Uzbekistan

0843

2115

1033

English

Uzbek (Latin) - Republic of Uzbekistan

0443

1091

1033

English

Venda - Venda

0433

1075

1033

English

Vietnamese - Vietnam

042a

1066

1033

English

Welsh - United Kingdom

0452

1106

1033

English

Xhosa - Xhosa

0434

1076

1033

English

Yi - China

0478

1144

Not supported

Yiddish - Yiddish

043d

1085

1033

English

Yoruba - Nigeria

046a

1130

Not supported

Zulu - Zulu

0435

1077

1033

English

ACCEPT_LANGUAGE Server Variable

If the lc parameter is missing, Microsoft .NET Passport uses the ACCEPT_LANGUAGE variable in the HTTP header of the browser to determine which language to display. Although this value may not always be set correctly on the user's browser, this attempt to determine the correct language should be far more beneficial than simply defaulting to English in all cases.

To set language preference in Internet Explorer

  1. In Internet Explorer, from the Tools menu, select Internet Options.

  2. In the Internet Options dialog box, on the General tab, click the Languages button.

    This procedure displays a dialog box in which you can choose one or more languages. The values are of the form: en-us. This value is sent to the server and can be read using the following method.

    If more than one language is set in the browser, a list appears in the ACCEPT_LANGUAGE variable of the form: en-us,ja;q=0.5. Microsoft .NET Passport looks at the value to the left of the first comma in the string and uses that as the determining value.

Language information should rarely be missing. All links to .NET Passport should include language information, even those for the English UI. If the lc parameter is missing, it is possible to see mixed-language pages. For example, if you use cobranding on a .NET Passport Sign-in page, that page could be displayed in one language but the sign-in dialog box may appear in another language. Further, if the cobranding is in a different character set from that of the page in which it is displayed, the cobranding may be unreadable.

Additional Services

This section covers services beyond the core .NET Passport service, including Kids Passport and https://www.passport.com/.

Kids Passport

Kids Passport is somewhat unique in that it is market-based—it applies only to countries (including the United States, U.S. territories, and Korea) that have enacted certain childrens online privacy protection laws.

.NET Passport Web Site

The .NET Passport 2.5 Service Guide Kit (SGK), marketing materials, consumer information (FAQ, home page, participating site directory, and so on), as well as the Privacy Statement and Terms of Use are available at the .NET Passport Web site. Some of these items are not available in languages other than English. However, the consumer section, Terms of Use, and Privacy Statement are all currently available in 26 languages. The list is the same as that shown at the beginning of this topic for .NET Passport core services, with the exception of Thai. The language versions are accessed by passing an LCID value on the query string, using the lc parameter, just as for .NET Passport core services. The Web site accepts only 26 specific LCID values. Unsupported values are discarded and the English interface is displayed.

The following is a table of available languages and base URLs for the .NET Passport Web site.

Language

Base URLs for .NET Passport Web site

Arabic

https://www.passport.com/consumer/default.asp?lc=1025

Chinese (Simplified)

https://www.passport.com/consumer/default.asp?lc=2052

Chinese (Traditional)

https://www.passport.com/consumer/default.asp?lc=1028

Czech

https://www.passport.com/consumer/default.asp?lc=1029

Danish

https://www.passport.com/consumer/default.asp?lc=1030

Dutch

https://www.passport.com/consumer/default.asp?lc=1043

English

https://www.passport.com/consumer/default.asp?lc=1033

Finnish

https://www.passport.com/consumer/default.asp?lc=1035

French

https://www.passport.com/consumer/default.asp?lc=1036

German

https://www.passport.com/consumer/default.asp?lc=1031

Greek

https://www.passport.com/consumer/default.asp?lc=1032

Hebrew

https://www.passport.com/consumer/default.asp?lc=1037

Hungarian

https://www.passport.com/consumer/default.asp?lc=1038

Italian

https://www.passport.com/consumer/default.asp?lc=1040

Japanese

https://www.passport.com/consumer/default.asp?lc=1041

Korean

https://www.passport.com/consumer/default.asp?lc=1042

Norwegian

https://www.passport.com/consumer/default.asp?lc=1044

Polish

https://www.passport.com/consumer/default.asp?lc=1045

Portuguese (Brazil)

https://www.passport.com/consumer/default.asp?lc=1046

Portuguese (Portugal)

https://www.passport.com/consumer/default.asp?lc=2070

Russian

https://www.passport.com/consumer/default.asp?lc=1049

Slovakian

https://www.passport.com/consumer/default.asp?lc=1051

Slovenian

https://www.passport.com/consumer/default.asp?lc=1060

Spanish

https://www.passport.com/consumer/default.asp?lc=3082

Swedish

https://www.passport.com/consumer/default.asp?lc=1053

Turkish

https://www.passport.com/consumer/default.asp?lc=1055

See Also

.NET Passport Cobranding Overview