web/i18n: add fallback locale

This commit is contained in:
wukko 2024-07-09 17:40:45 +06:00
parent 1bf0e6707b
commit 19a0b00853
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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,