|

- 帖子
- 1
- 积分
- 13
- 威望
- 0 金
- 金币
- 12 元
- 注册时间
- 2020-5-9
- 最后登录
- 2020-5-9
|
大型软件系统,资源文件多姿多样,比如 ts,properties,csv,甚至是数据库的表里。' N- w! a; x0 Y6 M
首页有语言切换选项,) b& p; ]* S ? D y
从技术上如何设计流程,快速将系统本地化为某种语言,(暂时不考虑翻译过程与准确性)8 J; `' C4 l- b \) j9 b8 Z
比如英文某页面某块功能标签或者验证消息来自 ( s1 V/ n1 A7 D& f8 |
src/main/resources/customer/search/searchcustomer.properties
# V3 g9 H' h7 z5 r- p中文化的话,需要有) c8 h) ^* H6 O
src/main/resources/customer/search/searchcustomer_zh_CN.properties
1 @7 c: J5 H9 ~9 ?: v! F( D* A1 s
8 ?0 @2 `3 W1 N! N! Q5 ]. @系统有一千多个properties |
|