Skip to content
Snippets Groups Projects
Unverified Commit a2216057 authored by Julian Wachholz's avatar Julian Wachholz Committed by GitHub
Browse files

fix: i18n: Use 'en' as default language (#3242)

* fix: i18n: Use 'en' as default language

Using 'cimode' as default language code will return the
translation keys verbatim without doing interpolation.
This is unwanted unless working directly on localization.

Fixes #3240

* Add release note
parent 81df2ce7
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,8 @@ i18n
.init({
// While we mark all strings for translations, one can test
// it by setting the language in localStorage to their choice.
lng: localStorage.getItem('language') || 'cimode',
// Set this to 'cimode' to see the exact keys without interpolation.
lng: localStorage.getItem('language') || 'en',
// allow keys to be phrases having `:`, `.`
nsSeparator: false,
......
---
category: Bugfix
authors: [julianwachholz]
---
Fixed translation keys being shown verbatim without interpolation
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment