LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Very easy translation of front panels and RTMs (without Export/Import VI Strings)

I have developed a "translate.vi", that makes it very easy to translate all
front panel strings and Run Time Menus (RTM) of your VIs in three steps:
1. Place the "translate.vi" at the beginning of the VI which strings you want
to translate (main VI) and start the main VI.
2. In the directory of your main VI a translation file "strings.txt" was
created, that contains a column of front panel strings of your main VI.
Add a new column for each new language to the translation file.
(e.g. with EXCEL).
3. Select the language index of the translation VI according to the desired
language and start the main VI again. That's it!

This works also at run-time and even after modifications
of your VI!

The reason why I have developed this VI is that the Export VI Strings and
Import VI Strings method of LabVIEW has many disadvantages:
- If you modify the VI, importing a previously exported and translated text file
results in errors.
- The exported text file has a structure close to XML. If you want to give it a
translator, you would need a parser that would allow you to extract only
the translatable strings.
- It is not possible to change the strings at runtime, because the you can
not import the textfile if the VI is running.
- Each VI of your application has its own textfile. If same strings appear in
many VIs (like "cancel" of a cancel button), you have to translate them in
each textfile.
- Run Time Menu (RTM) items are not included in the exported textfile.

I will send a tutorial (PDF file, 2 pages), documentation (PDF file, 3 pages)
and a demo to everybody who is interested.
Please send me a short email.

Robert Nell
0 Kudos
Message 1 of 11
(4,538 Views)
Your program sounds really cool. Are you using VI server to get the contol names and reset them?

You can submit your code to NI to be put on their example database (if you are interested) at:
http://zone.ni.com/devzone/explprog.nsf/NIDNsubmit

Jeremy
0 Kudos
Message 2 of 11
(4,535 Views)
Version 1.1 of my translate.vi with new features is available now.
If you are interested, please send an email to nell@rofa.at
0 Kudos
Message 3 of 11
(4,535 Views)
Hi Rober Nell,

can you please send me the tutorial and the demo of your programm. Becaus I haven't found a solution for my problem yet. I have to translate my program(including several sub vi's)into different languages.
I hope your software will help me.
Thanks for your help and have a nice weekend.
0 Kudos
Message 4 of 11
(4,535 Views)
Hello Robert:
I would like to try out your vi for translation. My e-mail is mspath@dynisco.com
Thanks
0 Kudos
Message 5 of 11
(4,535 Views)
Hi Robert,

I would appreciate if you could send me your soloution to the multi-lanuguage interface problem - do u also have a solution for labview system messages other than the 4 standard languages?

Thanks,
Gerhard
0 Kudos
Message 6 of 11
(4,535 Views)
If you have LV 6.1 or 7 the system error messages are located in a subfolder named errors of the shared\LabVIEW Run-time\ folder. You can change the textfiles, they are very simple XML. I think there is a subfolder for each runtime language but the filenames are the same.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 7 of 11
(4,535 Views)
Hi Robert,

I'm very interresting in your prg, but nothing appends when I use It : I'm using LabView V7.0 and I think it's the reason why.

Do you have a version of your library which work with LV7.0 ???

Please Help...

Eddy
Eddy DUCHENE
12 F Chemin de Boutary
69300 CALUIRE ET CUIRE

educhene@laposte.net
0 Kudos
Message 8 of 11
(4,535 Views)
HI i'm very intersting in your translat.vi can you send me ?
 
thank you very much  
0 Kudos
Message 9 of 11
(4,001 Views)

Can you please send me the PDF documents and VIs for easy translation.

 

naganathas@yahoo.co.in

 

Thanking you

 

Naganatha Subramanian

CLAD, Bangalore

0 Kudos
Message 10 of 11
(3,324 Views)