mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +00:00
web/i18n: add fallback locale
This commit is contained in:
parent
1bf0e6707b
commit
19a0b00853
|
@ -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