LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change language

How can I change the font language in run time,
(in a dual language operating system)
like pressing Alt+Shift in the keyboard, but from the code?
thanks
erez.
0 Kudos
Message 1 of 5
(4,214 Views)
> How can I change the font language in run time,
> (in a dual language operating system)
> like pressing Alt+Shift in the keyboard, but from the code?

As usual, there are several ways. If you are switching between just a
few languages and they are all supported in one script, then you don't
need to change fonts/scripts at all, and you can just replace the string
values on the panel through attribute nodes, terminals, and locals. If
you need to load in different scripts/fonts, then you will need to use
the Import Strings feature. A VI can't be running when this is used; so
you will want to use dynamic loading so that you can abort a VI, load in
new strings, and rerun then panel.

To generate the VI scripts, you can either localize the panel
intera
ctively saving off the export files, or you can generate one of
the files using Export Files and then translate it using a text editor
and change the script name within the file.

Greg McKaskle
0 Kudos
Message 2 of 5
(4,214 Views)

Hi all ...
How can I get current keyboard language while a VI is working ?
Two language are installed by defualt in my computer. En (English) & Ar (Arabic)
Is there any windows API for doing this ?
I had a look in MSDN but could not find anything

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

Please someone answer me

Any suggestion, idea ...

0 Kudos
Message 4 of 5
(3,207 Views)

I think this is the solution, take a look for attached vi

0 Kudos
Message 5 of 5
(2,753 Views)