annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

How to create a multilanguage aplication

I'm developing a system that's going to be deployed for several countries.

I've found a way to rename the caption using a for cycle and the property. But I've 300 controls and this process can take about 3 seconds.

In spite of that, if I've a tab control, the situation become complicated.

Does anybody knows a faster and simplest way to do this?

Best regards
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Messaggio 1 di 8
3.834Visualizzazioni
You might want to go with the VI methods "VI Strings.Export" and "VI Strings.Import". Export will grab all visible strings out of your VI and put them into an XML file, import vice versa. These functions were built for localization, so they won't miss a string on your VI.

Hope that helps,
Herbert
Messaggio 2 di 8
3.824Visualizzazioni
And if you have a cluster on the tab control, it can get really messy.

I am using the same approach that you have described. But I only have 170 controls. If there is a better one, I am interested also.

Two things I have learned that may be of assistance:

1) Using the ClassID rather than the Class Name to identify the complex objects like clusters and tabs was recommended by someone from NI on a Forum posting some time ago. The indiciation was that Class Names could possibly change between versions, whereas the Class ID was less likely to change.

2) You must manually make the Caption Visible before calling the property to write a new value to it. Otherwise you get an error.

Lynn
Messaggio 3 di 8
3.823Visualizzazioni
Can you do an example with that?

I'm using labview 8.2.1
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Messaggio 4 di 8
3.818Visualizzazioni
Thanks for tips guys.

But I think that I should wait for a simpler approach from NI.

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Messaggio 5 di 8
3.817Visualizzazioni
Messaggio 6 di 8
3.812Visualizzazioni
thanks
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Messaggio 7 di 8
3.813Visualizzazioni
You're welcome. Don't forget to rate a good answer Smiley Strizza l'occhio
Herbert
0 Kudos
Messaggio 8 di 8
3.807Visualizzazioni