LocalizationService
Class
A service which provides localization methods.
Definition
Package:@progress/kendo-react-intl
Properties
language?
string
The language code used for localization. When no string is available for this language, the default value is returned.
Methods
Provides a string based on a key for the current language. When no string for the current language is available under this key, the defaultValue is returned.
Parameters:keystring
The key which identifies the string for the current language.
defaultValuestringThe default value which will be returned when no string for the current language is available under the key.
Returns:string
- The string for the current language.