Locale
Provides static methods for locales.
Static Member Summary
Static Public Members | ||
public static get |
The mapping between neutral locales and default specific locales. |
Static Method Summary
Static Public Methods | ||
public static |
getSpecificLocale(neutralLocale: string): string Returns the default specific locale corresponding to the specified neutral locale. |
Static Public Members
Static Public Methods
public static getSpecificLocale(neutralLocale: string): string source
Returns the default specific locale corresponding to the specified neutral locale.
Params:
Name | Type | Attribute | Description |
neutralLocale | string | A neutral locale. |
Return:
string | The default specific locale corresponding to the specified neutral locale, or the neutral locale if no specific locale matches. |