国际化语言支持
So let me give you an outline of the typical process:
Create :
Tools-->User Interface Localizer;
File-->Open User Interface(*.uir);
Edit UI String Data;
File-->Save Localization(*.lwl);
Dictionary-->Translate From Dictionary(*.lwd);
change :
Tools-->User Interface Localizer;
File-->Open User Interface(*.uir);
File-->Load Localization(*.lwl);
Edit UI String Data;
File-->Save Localization(*.lwl);
Dictionary-->Translate From Dictionary(*.lwd);
1. Create uir.
2. Load uir in localizer, and perform translations.
3. Obtain both an lwl (language file) and an lwd (dictionary file) from the localizer when you're done (File>>Export Language and Dictionary>>Export Strings, respectively).
4. Use the uir and the lwl in your program.
...
5. Make a change in the uir.
6. Load the new uir in the localizer.
7. Load the lwd in the localizer (Dictionary>>Import Strings).
8. Translate the new controls only (the existing controls should have had their text translated by the previous step).
9. Repeat step 3.
etc...
https://forums.ni.com/t5/LabWindows-CVI/Strage-behaviour-of-DefaultPanel-DefaultCtrl-on-localized-panel/m-p/2544123#M63531
https://forums.ni.com/t5/LabWindows-CVI/Strange-behaviour-of-LoadLocalizedPanel-panel/m-p/2602999#M64254--------