uiState.locale
value. Current supported languages are:en
. The default language can be changed by giving locale value to uiState:src/localization/translations/sv.js
by copying src/localization/translations/en.js
and translating the stringssrc/localization/locales.js
to include new language translation:localeMessages
prop of KeplerGl
takes additional translations and merge with default translation.layerManager.addData
, pass localeMessages
like this.settings
panel in the side panel, you will need to provide a translation for the panel name assigned to sidebar.panels.settings