New to KendoReactStart a free 30-day trial

Loading Messages

You can load messages for specific languages which will be used later on for localizing the components.

To load the messages and associate them with a specific language, utilize the loadMessages method that is exported by the Internationalization package. The messages can be either in the form of a JSON file or as an iterable key-value collection.

js
import { loadMessages } from '@progress/kendo-react-intl';

const language = 'en';

const messagesObj = {
    'greeting':  "Hello",
    ...
    ...
}

loadMessages(messagesObj, language);
In this article
Suggested Links
Not finding the help you need?
Contact Support