Check system language
Dzmitry
✭
Hello
In my program I create a few messages for the user like "Can I go home?", "Continue the process?" etc., and I'd like to create this messages for the few different languages and change it automatically depending on system language. Can I check the language of the system in RAPID to choose the correct message to show?
IRC5, RobotWare 6.12.00.00
In my program I create a few messages for the user like "Can I go home?", "Continue the process?" etc., and I'd like to create this messages for the few different languages and change it automatically depending on system language. Can I check the language of the system in RAPID to choose the correct message to show?
IRC5, RobotWare 6.12.00.00
0
Best Answer
-
Hello,
you can use the function "GetSysInfo" to get the active language.
Example:
stLanguage := GetSysInfo(\CtrlLang);
The language is represented by two characters, [e.g. en (English), de (German), se (swedish), fr (France), etc.]0
Answers
Categories
- All Categories
- 5.4K RobotStudio
- 384 UpFeed
- 15 Tutorials
- 12 RobotApps
- 290 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 283 IRC5
- 44 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 746 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings