Some test text!
Web / Guides / Localization
WebViewer leverages the i18next library for languages and internationalization support.
Out of the box, WebViewer supports the following languages:
These will come with WebViewer automatically when you download the package. To always find the available languages supported by WebViewer, you can visit the GitHub project.
It is possible to add additional languages to your WebViewer in a few easy steps. Most of the on-screen text values are stored as JSON language files which you can edit in any text editor. Follow the steps below to start:
{
"action": {
"apply": "Apply",
"applyAll": "Apply all",
"cancel": "Cancel",
"clear": "Clear",
"close": "Close",
...
To change languages in WebViewer, simply call setLanguage on the instance while passing in the language code defined in the file name. This is without the translation- prefix.
WebViewer(...)
.then(instance => {
instance.UI.setLanguage('es');
});
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales