Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3592 Widoki

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 20
4308
2
wrz 17
9111
1
mar 23
9629
0
gru 22
1594
2
cze 24
7592