LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to localize "out of Range" Popup?

Solved!
Go to solution

I have a quick question.

My application has been translated into German using LWCVI Language Resource Files, but I don't know how to change the following text:

Screenshot 2025-07-09 17.13.22.png

It’s a nice feature of CVI, but I haven’t been able to find where this string is stored (maybe I’m just overlooking it). Could you help me out, please?

0 Kudos
Message 1 of 4
(168 Views)
Solution
Accepted by topic author Andrey_Dmitriev

These and other error messages are located inside the message file of the CVI Run-Time Engine, which you can translate according to your whishes.

This activity is described in the help of CVI as can be seen here. I never attempted to do this, but you may want to try since it's the only way to localize built-in messages.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 4
(154 Views)

Ah, of course msgrte.txt, thank you!

Well, it works in general, I found this popup text is in this file. The only question is — how to reload this file "on the fly" when I switching between two languages without restarting whole application? I using LocalizePanelUtf8() to switch between languages, and it works, but I don't see API to take other msgrte.txt.

0 Kudos
Message 3 of 4
(137 Views)

Yes, it is loaded from C:\Windows\System32\cvirte\bin\msgrte.txt. It seems that there is no way to reload this "on the fly," but I was able to "switch" it by patching the strings in memory:

 

auserhalb.gif

 

0 Kudos
Message 4 of 4
(104 Views)