Show / Hide Table of Contents

Property SpecificLanguage

SpecificLanguage

Gets or sets the culture that determines the desired language for place labels on the Basemap. Use null if no specific language is required.

Declaration
public CultureInfo SpecificLanguage { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo

The desired language for place labels on the Basemap or null if no specific language is required.

Remarks

The SpecificLanguage culture should represent a supported locale. Specifying the region is required for Portugese and Chinese, and optional for other languages.

The list of supported language codes is shown in the table below. To see the latest list of languages supported by the Basemap Styles Service, see the Languages section of the Basemap Styles Service documentation:

Language (CLDR code) Description
ar Arabic
bs Bosnian
bg Bulgarian
ca Catalan
zh-HK Chinese (Hong Kong)
zh-CN Chinese (Simplified)
zh-TW Chinese (Taiwan)
hr Croatian
cs Czech
da Danish
nl Dutch
en English
et Estonian
fi Finnish
fr French
de German
el Greek
he Hebrew
hu Hungarian
id Indonesian
it Italian
ja Japanese
ko Korean
lv Latvian
lt Lithuanian
nb Norwegian
pl Polish
pt-BR Portuguese (Brazil)
pt-PT Portuguese (Portugal)
ro Romanian
ru Russian
sr Serbian
sk Slovak
sl Slovenian
es Spanish
sv Swedish
th Thai
tr Turkish
uk Ukrainian
vi Vietnamese

If a supported language code is supplied, the labels are displayed in the identified language. If an unsupported language is used, the label language falls back to the closest available language. For example, American English (en-US) or Canadian French (fr-CA) are not currently supported. These are interpreted as English and French respectively. If no suitable fallback language code is found, labels use the default language for the style.

If set, this property takes precedence over the LanguageStrategy.

The default value is null.

Exceptions
Type Condition
System.ArgumentException

Given CultureInfo is ambiguous; use a region-specific culture instead.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.