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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings