web/i18n: add fallback locale
This commit is contained in:
parent
1bf0e6707b
commit
19a0b00853
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ for (const [ path, loader ] of Object.entries(locFiles)) {
|
|||
|
||||
const defaultLocale = 'en';
|
||||
const config: Config = {
|
||||
fallbackLocale: defaultLocale,
|
||||
translations: Object.keys(parsedLocfiles).reduce((obj, lang) => {
|
||||
return {
|
||||
...obj,
|
||||
|
|
Loading…
Reference in a new issue