To localize DevExtreme widgets, do the following:
- Link required dictionaries as described in the following help topic:
Link Dictionaries
Note that the order of references is important.
- Reference the DevExtreme localization script:
Use Predefined Dictionaries
- Initialize your application after setting the locale:
[JavaScript]$.when(...).then( Globalize.load).then(function(){.. Globalize.locale('de'); angular.bootstrap(document, ['dxApp']);});
Important: Call the angular.bootstrap method only after setting a page locale.
For a more detailed description, refer to the following help topic:
Localization
See also:
Extend Predefined Dictionaries
Globalize.formatMessage