LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

User interface localized

Solved!
Go to solution

Hello

 

I have some problem to reload the complete dictionary (LWD file)

with the LabWindows/CVI "User Interface Localized" tool.

 

NOT to execute a multi-language software, with the good translations.

The final executable works perfectly, with LWL file.

 

BUT if I need to correct a translation mistake (I am only an human Smiley Embarassed),

and try to reload the previoulsy saved dictionay (LWD file) for that,

after leaving the tool,

several of the filled translations previously disappeared (see on attached pictures).

 

You can save again the dictionary, as many time you want,

after put again and again... the same disappeared translation.

Every time you reload it, after leave the "User Interface Localized" tool,

some tanslation still always missing in the tool.

 

See the joined example.

 

See with "Fonction_EN.LWD" and the "OK (Enter)" button message of the "About" panel.

It is correcly filled in the final LWL file, so the executable is correctly loaded.

But it still not saving in the LWD dictonary file.

 

We got the problem, since almost LabWindows/CVI 2012 (and perhap's previously).

And especially with some UIR with many panels inside

and/or using the same translations (__OK, __Cancel, etc...).

 

Thanks a lot for your help.

 


Certified LabWindows/CVI DEVELOPER (2004)
LabVIEW since 5.01 | LabWindows/CVI since 4.01
0 Kudos
Message 1 of 4
(3,938 Views)

Hello,

 

Attached another example, which does not allow to reload the whole "LWD" file,

in the "User Interface Localized" tool of LabWindows/CVI.

 

Process:

- LabWindows/CVI -> Tools -> User Interface Localized...

- File -> Open User Interface (*.uir, *.tui)...

- "...\Elements.uir"

- Dictionary -> Translate From Dictionary (*.lwd)...

- "...\Elements.lwd" (=> "Strings successfully imported from Dictionary file" screen)

- Severals "Next Untranslated" button :

   * 2th time : "Valeur" (FR) = "" (EN),

     normally "Value" (Word "86_L") in the "LWD" file

   * 3rd time : "__OK (Entrée)" (FR) = "" (EN),

     normally "__OK (Enter)" (Word "94_L") in the "LWD" file

   * etc...

 

Thanks a lot for your help.


Certified LabWindows/CVI DEVELOPER (2004)
LabVIEW since 5.01 | LabWindows/CVI since 4.01
0 Kudos
Message 2 of 4
(3,917 Views)
Solution
Accepted by topic author Pims

Hello,

 

A solution was be given by another post.

Sorry, I have lose the link.

Thanks.

 

Process:

- LabWindows/CVI -> Tools -> User Interface Localized...

- File -> Open User Interface (*.uir, *.tui)...

- "...\Elements.uir"

- Dictionary -> Translate From Dictionary (*.lwd)...

- "...\Elements.lwd" (=> "Strings successfully imported from Dictionary file" screen)

- File -> Load Localization (*.lwl)...

- "...\Elements_En.lwl" (=> "Strings successfully imported from Language Resource file)

 

All the translation are filled.

Smiley Very Happy

 

 


Certified LabWindows/CVI DEVELOPER (2004)
LabVIEW since 5.01 | LabWindows/CVI since 4.01
0 Kudos
Message 3 of 4
(3,821 Views)

Hello,

 

But this method seems only available,

for a specific "ABC (for example).UIR"

with the "ABC (for example).LWL" file.

So it could be limited.

 

To be clear, I am not sur,

about the fact to copy the *.UIR

(fully or a little part of it, with Panel name changing, etc...)

with a new UIR name, and use the loading of the *.LWL

of the Original UIR.

I think, but it is only my opinion,

for that, only a functional *.LWD loading, would be the solution.

 

N.B. :

I have not made more test on this last writing.

Smiley Surprised

 

So will see in next release of LaWindows/CVI

if some LabWindows/CVI architect (or more)

would like to take care about this problem.

Smiley Wink

 

I could be very be nice.

 

Thanks in advance.


Certified LabWindows/CVI DEVELOPER (2004)
LabVIEW since 5.01 | LabWindows/CVI since 4.01
0 Kudos
Message 4 of 4
(3,819 Views)