i have put localization message pack for chinese to ,but the web ui language still is english .,even if i select the chinese language in login window. i don’t know what incorret. please help me.
thanks!
i have put localization message pack for chinese to ,but the web ui language still is english .,even if i select the chinese language in login window. i don’t know what incorret. please help me.
thanks!
the loginWindow capture
Hi,
The problem is in message pack selection mechanism. See the linked YouTrack issue for more details.
If you rename your localization files to “messages_zh_CN.properties” (uppercase country code), everything should work.
Thank you.
hi, thank you!
I changed the file name to “messages_zh_CN.properties” and change the language setting in CUBA stuido according to your comment,but the problem still exists.
then I changed the file name to “messages_cn.properties” ,don’t include country code,and changed the language setting in studio also. but the same problem .
here is the capture:
Hi,
As I see, you have specified localized messages for the GUI module, but Web-client could not find them. Assumably your Web module has no message pack for the selected language.
Create messages_cn.properties in the Web module and add
@include = com.haulmont.cuba.gui to it. This will tell Web-client to search messages in GUI message pack.
Hi,
Thank you very much! Now it works!
Thre another problem about mp2xls tool.
I will translate full messages using mp2xls tool.
As you know, my previous problem caused by the missing "@include " directive ,but why the mp2xls tool have not write the "@include " directive when generate messages pack.