国际化

This commit is contained in:
John
2024-03-09 02:34:09 +08:00
parent e702b1bc7f
commit 304421281f
7 changed files with 203 additions and 15 deletions

View File

@@ -22,7 +22,7 @@ if (!lang) {
getDefaultLocal().then(res => {
console.log('res', res)
if (res === 'gu_IN') {
localStorage.setItem('lang', 'id')
localStorage.setItem('lang', 'hi')
} else {
localStorage.setItem('lang', 'zh')
}