Compartir a través de


SPWeb.Language Property

Gets the locale identifier for the language that is used on the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public ReadOnly Property Language As UInteger
    Get

Dim instance As SPWeb
Dim value As UInteger

value = instance.Language
public uint Language { get; }

Property Value

Type: System.UInt32
A 32-bit unsigned integer that indicates the locale identifier for the language.

Remarks

The following table shows the locale identifier for each language.

Locale Identifier

Language

1025

Arabic

2052

Chinese Simplified

1028

Chinese Traditional

1029

Czech

1030

Danish

1043

Dutch

1033

English

1035

Finnish

1036

French

1031

German

1032

Greek

1037

Hebrew

1038

Hungarian

1040

Italian

1041

Japanese

1042

Korean

1044

Norwegian

1045

Polish

2070

Portuguese

1046

Portuguese - Brazilian

1049

Russian

1034

Spanish

1053

Swedish

1054

Thai

1055

Turkish

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace