Commit c63a118 1 parent fb4cbf4 commit c63a118 Copy full SHA for c63a118
File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ VITE_WX_APPID = 'wxa2abb91f64032a2b'
11
11
# fallback lacale:en, zh-Hans, zh-Hant 等
12
12
# 必须要在 lacale 文件夹中配置对应的 json 文件!!!
13
13
# 参考文档如下
14
- # https://uniapp.dcloud.net.cn/tutorial/i18n.html#vue%E7%95%8C%E9%9D%A2%E5%92%8Cjs%E5%86%85%E5%AE%B9%E7%9A%84%E5%9B%BD%E9%99%85%E5%8C%96
15
- VITE_FALLBACK_LOCALE = ' zh-Hans'
14
+ # https://uniapp.dcloud.net.cn/tutorial/i18n.html
15
+ # https://uniapp.dcloud.net.cn/api/ui/locale.html#onlocalechange 打开页面后最下面的注意事项
16
+ VITE_FALLBACK_LOCALE = 'zh-Hans'VITE_FALLBACK_LOCALE = 'zh-Hans'
16
17
17
18
VITE_SERVER_BASEURL = ' https://ukw0y1.laf.run'
Original file line number Diff line number Diff line change 5
5
> ` xxx.json ` 的 ` xxx ` 多语言标识必须与 ` uniapp ` 官方约定的一致,否则也会出现 BUG。
6
6
>
7
7
> 查看截图 ` screenshots/i18n.png ` 。
8
+
9
+ ## 参考文档
10
+
11
+ [ uniapp 国际化开发指南] ( https://uniapp.dcloud.net.cn/tutorial/i18n.html )
12
+ [ uniapp 国际化-注意事项] ( https://uniapp.dcloud.net.cn/api/ui/locale.html#onlocalechange ) 最下面的注意事项
You can’t perform that action at this time.
0 commit comments