Hi,
I want to translate the gui text to cinese, and I follow the manual and refered system.h,
I added below lines at the begin of unigine.cpp in my project:
--unigine.cpp
int init() {
engine.gui.setFont("SIMYOU.TTF");
string systemUIName = "core/unigine.ui";
string languages[] = ("English", "Russian", "Chinese");
string locales[] = ("core/locale/unigine.locale:en","core/locale/unigine.locale:ru", "chinese.xml:tr");
systemInit(SystemName, languages, locales);
//below are just like deflaut codes
......
}
I see some are translated correctly, but some are do not translate, and the button tooltip(the text appared when the mouse move on it) is not show correctly(neither english nor chinese).
Could anyone help me to figure out this prolem? Is there something I missed?
thanks a lot!