07-09-2025 10:20 AM
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:
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?
Solved! Go to Solution.
07-09-2025 10:44 AM
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.
07-09-2025 11:43 AM
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.
07-09-2025 11:24 PM
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: