New to KendoReact? Start a free 30-day trial
A service which provides localization methods.
Name | Type | Default | Description |
---|
|
string
|
|
(language?: string)
string
|
---|
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 | | |
---|
key
|
string
|
The key which identifies the string for the current language.
|
defaultValue
|
string
|
The 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.
|
|