*/}}
Browse Source

set translation

YimingWu 2 years ago
parent
commit
ffd14be2de
1 changed files with 2 additions and 0 deletions
  1. 2 0
      simplest.c

+ 2 - 0
simplest.c

@@ -26,6 +26,8 @@ void MyPanel(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColum
 int main(int argc, char *argv[]){
     laGetReady();
 
+    transSetLanguage("zh-CN");
+
     laRegisterUiTemplate("my_panel","My Panel", MyPanel,0,0,"Demonstration", 0);
 
     laWindow* w = laDesignWindow(-1,-1,600,600);