小程序初始提交
This commit is contained in:
19
cool-unix/uni_modules/cool-ui/locale/index.ts
Normal file
19
cool-unix/uni_modules/cool-ui/locale/index.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { appendLocale } from "@/locale";
|
||||
|
||||
import zhcn from "./zh-cn.json";
|
||||
import zhtw from "./zh-tw.json";
|
||||
import en from "./en.json";
|
||||
import es from "./es.json";
|
||||
import ja from "./ja.json";
|
||||
import fr from "./fr.json";
|
||||
import ko from "./ko.json";
|
||||
|
||||
setTimeout(() => {
|
||||
appendLocale("zh-cn", zhcn);
|
||||
appendLocale("zh-tw", zhtw);
|
||||
appendLocale("en", en);
|
||||
appendLocale("es", es);
|
||||
appendLocale("ja", ja);
|
||||
appendLocale("fr", fr);
|
||||
appendLocale("ko", ko);
|
||||
}, 0);
|
||||
Reference in New Issue
Block a user