Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
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.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 365 IRC5
- 86 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings