LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to translate button labels?

First of all - Happy New Year!

However - I'm having a problem as follows:
I just finished an LV app in German. Since I want to have the same for
English speaking people, I need to translate the button labels. I'm using
the VI "File Dialog" but could not find a solution so far.

TIA Klaus
0 Kudos
Message 1 of 5
(3,009 Views)
The File Dialog VI opens a standard Windows file dialog. So this is nothing that comes with LabVIEW but with the OS. The language of the buttons in the file dialog window depends on the country settings you set for your OS. So if you need English button labels in the file dialog you have to set the country settings in the Windows control panel to English.
0 Kudos
Message 2 of 5
(3,009 Views)
Klaus,
From the menu bar, choose Tools >> Advanced and you will see the choices for
'export strings' and 'import strings'. You can use this to save and recall
strings between VI controls and a text file. I think you must make the
captions, not the labels, visible to make this work.. And, if you open a VI
reference and use the invoke node you can import the captions at run time. I
have not tried a run-time import but it seems it should work. I do not
suppose the boolean text of buttons can be imported in this way, but you can
change boolean text programatically by the usual property node technique.
Good luck!
Vinny

Klaus wrote:

> First of all - Happy New Year!
>
> However - I'm having a problem as follows:
> I just finished an LV app in German. Since I want to h
ave the same for
> English speaking people, I need to translate the button labels. I'm using
> the VI "File Dialog" but could not find a solution so far.
>
> TIA Klaus
0 Kudos
Message 3 of 5
(3,009 Views)
Thanks for the suggestion. Alas I cannot ENTER the respective VI. See my
posting of today Jan 21, 2002.

Best wishes.

Klaus

vjrecca schrieb in im Newsbeitrag:
3C3A70F3.F65092FA@rochester.rr.com...
> Klaus,
> From the menu bar, choose Tools >> Advanced and you will see the choices
for
> 'export strings' and 'import strings'. You can use this to save and
recall
> strings between VI controls and a text file. I think you must make the
> captions, not the labels, visible to make this work.. And, if you open a
VI
> reference and use the invoke node you can import the captions at run time.
I
> have not tried a run-time import but it seems it should work. I do not
> suppose the boolean text of buttons can be imported in this
way, but you
can
> change boolean text programatically by the usual property node technique.
> Good luck!
> Vinny
>
> Klaus wrote:
>
> > First of all - Happy New Year!
> >
> > However - I'm having a problem as follows:
> > I just finished an LV app in German. Since I want to have the same for
> > English speaking people, I need to translate the button labels. I'm
using
> > the VI "File Dialog" but could not find a solution so far.
> >
> > TIA Klaus
>
0 Kudos
Message 4 of 5
(3,009 Views)
Klaus,
if you use native dialogs option on your built app, the langage of the file dialog is that of the OS.
If you do not use native dialogs (LabVIEW dialogs) you have to install the English version of the LabVIEW Run-Time Engine for English version of your application.
You set the dialog preference in the options. You can also set line in the app.ini file to select the dialog preference.


LabVIEW, C'est LabVIEW

0 Kudos
Message 5 of 5
(3,009 Views)