跳至内容
菜单
此问题已终结
3648 查看

Dear All,

In source code ~/addons/web/controllers/main.py, function 'bootstrap_translations(self, req, mods)', there exists a remark, saying,

# For performance reasons we only load a single translation, so for # sub-languages (that should only be partially translated) we load the # main language PO instead - that should be enough for the login screen.

Actually I don't understand why loading sub-languages will affect the performance. According to the codes, only 1 exact language will be loaded, say, zh_CN, so no matter what the browser language is, there will not be any loopings. So, I really don't understand why OpenERP need to exclude the sub-languages.

Can anybody kindly help to tell me why?

Thank you very much.

形象
丢弃
相关帖文 回复 查看 活动
1
3月 20
4365
2
9月 17
9173
1
3月 23
9746
0
12月 22
1632
2
6月 24
7667