Add Vietnamese locale

This commit is contained in:
Nghiamaster
2021-01-14 11:24:39 -06:00
committed by Umputun
parent 277ebf17f3
commit 3961226e3c
+3
View File
@@ -30,6 +30,9 @@ export async function loadLocale(locale: string): Promise<Record<string, string>
if (locale === 'pl') {
return import(/* webpackChunkName: "pl" */ '../locales/pl.json').then(res => res.default).catch(() => enMessages);
}
if (locale === 'vi') {
return import(/* webpackChunkName: "vi" */ '../locales/vi.json').then(res => res.default).catch(() => enMessages);
}
return enMessages;
}