🐛(i18n) fix key that contain colon
Keys that contains colon where not being translated correctly. This was due to the colon being used as a separator for the key and the value. This was fixed by replacing the colon with a different character that is not used in the key or the value.
This commit is contained in:
@@ -14,6 +14,7 @@ i18n
|
|||||||
escapeValue: false,
|
escapeValue: false,
|
||||||
},
|
},
|
||||||
preload: LANGUAGES_ALLOWED,
|
preload: LANGUAGES_ALLOWED,
|
||||||
|
nsSeparator: '||',
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
throw new Error('i18n initialization failed');
|
throw new Error('i18n initialization failed');
|
||||||
|
|||||||
Reference in New Issue
Block a user