03-30-2006 02:41 AM
04-03-2006 05:01 AM
04-03-2006 05:47 AM
Hi ToNi
I assume you use an invoke node, calling the import methods on vi strings. If you have a look at the LV help you will see that this function is not available in runtime.
Thomas
11-20-2020 01:10 AM
hi Javier Gutiérrez,
I am not able to import strings in the exe file . I have to change my language in exe not in vi is that possible.
11-20-2020 01:17 AM
HI Thierry,
I need to import the string the after creating the exe . is that possible to do that . If yes kindly tell me what the solution
11-20-2020 02:33 AM - last edited on 04-12-2024 02:51 PM by Content Cleaner
Definitely you can't use Import VI Strings in an exe. You rather need to show Captions instead of Labels on your Front Panel, then, at runtime, read a message file and change Captions accordingly via the Caption.Text property of each control.
But beware that Unicode support in LabVIEW is very limited, check the available documentation here.
Especially if Unicode is involved, translation is not an easy and quick job.
There are a couple of tools in the LabVIEW Tools Network:
https://www.ni.com/en-us/shop/product/multilingual-labeling-toolkit.html
https://www.ni.com/en/support/downloads/tools-network/download.language-localization-toolkit.html
Honestly I don't know how they work and whether they allow translation at runtime or during development only.
11-20-2020 06:01 AM
Thanks for your comments bro,
I am having more than 200 control and indicator to change. It is difficult to take al the property node from them as well as unicode is not supported in my version (LaVIEW7.1). Is there any other option to change the language of control , indicator and string constants during run time.
11-20-2020 06:07 AM
And thus the multilingual software can be used for n no of projects without any extra cost buying. Does it work for all type of control , indicator, constants and constants in block diagram
11-20-2020 06:22 AM - last edited on 04-12-2024 02:52 PM by Content Cleaner
There are paid Toolkits in the LabVIEW Tools network to do that. Or you can roll your own, VI server provides all the functionality that is needed for this, but unless you plan to use this in several dozen different applications I can assure you that the payment of a Toolkit is a lot cheaper!
There are also various attempts from other users who posted some of their code which you can use for free.
https://github.com/rfporter/SET-Toolkit
https://github.com/JKISoftware/JKI-Simple-Localization
Without wanting to discredit any of this code, you will have to spend time to get used with all of them and paying for something like that is nothing more than fair if you do not want to roll your own code. There is some truth in the saying that you get what you pay for. 😁