DevExtreme provides an easy way to localize UI widgets. It uses the localization module to load translations of specific captions/messages such as 'Back', 'Cancel', 'Select', 'Loading', 'Search', and others to the corresponding languages. The DevExtreme locale extensions are provided by separate ready-to-use predefined dictionaries with our installation. These dictionaries include all the captions, titles, and messages that are used in DevExtreme UI widgets.
With the v17.2.5 minor release, DevExtreme now provides you the first community localizations for Spanish (es) and Brazilian Portuguese (pt-BR). This now make six languages that DevExtreme Localization provides messages for:
- English (en)
- German (de)
- Japanese (ja)
- Russian (ru)
- Spanish (es)
- Brazilian Portugues (pt-BR)
To localize dates, numbers, and currencies, you can use third-party libraries - Intl or Globalize. In addition DevExtreme allows you use Globalize library to localize messages. Learn more about Localization by reading this helpful blog post.
GitHub Contribution
In April 2017, we moved the DevExtreme library to GitHub which provides many benefits like access to pre-releases and sprints. However, it also means that our code is available to view and contribute to!
In fact, these two new translations were provided by one GitHub community member. I'd like to thank GitHub user: @pedrofurtado for these contributions. I'd also like to thank users perrich, Laupe, and jdvjdv82 for their contributions too. Their contributions of French and Czech localizations are under review now and we'd like your help with these too.
Help Us Translate
We need your help to translate more languages.
Specifically, we have two incomplete translations: French and Czech.
Here's how to help:
- Read our Contribution Guide (https://github.com/DevExpress/DevExtreme/blob/17_2/CONTRIBUTING.md) and Section 5 of the License Agreement (https://github.com/DevExpress/DevExtreme/blob/17_2/LICENSE.md#5-submission-of-contributions)
- Fork the DevExtreme repository.
- Commit your translation to
/js/localization/messages/
folder in your fork. We recommend you use the latest development branch (currently 18.1). - Create a pull request - Our engineers will check it, merge it and cherry-pick to previous versions.
We'll include these two new localizations in a future minor DevExtreme release (v17.1.10) too.
Are you using DevExtreme with a different localization?
Drop me a line below. Or better yet, post a screenshot link of your DevExtreme enabled website. Thanks!
Email: mharry@devexpress.com
Twitter: @mehulharry