Locale.getDefaultLanguage

Overview | Methods | This Package | All Packages

Locale.getDefaultLanguage

Retrieves the language identifier for the principal language spoken in this locale.

Syntax

public int getDefaultLanguage()

Return Value

Returns an integer that represents the language identifier for the principal language in this locale.

Remarks

This method is provided so that partially specified locales can be completed with default values.

See Also   getAbbrevLanguage, getNativeLanguage, getLanguage, getEnglishLanguage, getISO639LanguageName, getLanguageId