1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. KUKA Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Multi language Messages

  • Henry100
  • August 19, 2021 at 4:28 PM
  • Thread is Unresolved
  • Henry100
    Reactions Received
    6
    Trophies
    2
    Posts
    35
    • August 19, 2021 at 4:28 PM
    • #1

    Hi all!

    I'm working now with KRC4 and using the MsgLib.src and I find it really helpfully toll.

    But now I want to ask you how can I write my messages in two different languages? to be able to translate the messages that would appear to the log and to the teach pendant corresponding to the selected language in the teach Pendant?

    for example, if the operator selected the English language, the message will be shown ( that is my message). If he selected the German language, the message will be shown (Das ist meine Nachricht).

    Of course, I have to write for each message two texts for both languages but I need more details to do that.


    Thank you all in advance!

    BR

    Henry

  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • August 19, 2021 at 5:04 PM
    • #2

    You have to create a krx file containing your messages.

    There are two options:

    - one kxr file for each language

    --dummy.en.kxr (for english messages)

    <uiText key="ShowMyMessage">

    <text>that is my message</text>

    --dummy.de.kxr

    <uiText key="ShowMyMessage">

    <text>Das ist meine Nachrich</text

    -one kxr file holding both languages

    -- dummy.kxr (holding both languages)

    <uiText key="ShowMyMessage">

    <text xml:lang="de-DEV">Das ist meine Nachricht</text>

    <text xml:lang="en-DEV">that is my message</text>

    </uiText>

    In the data folder you have enough examples

    In your message instead of writing "Das ist meine Nachricht" you would write "ShowMyMessage"

    That's basically it

  • 95devils August 19, 2021 at 5:16 PM

    Moved the thread from forum Yaskawa Motoman Robot Forum to forum KUKA Robot Forum.
  • panic mode
    Reactions Received
    1,300
    Trophies
    11
    Posts
    13,143
    • August 19, 2021 at 10:43 PM
    • #3

    Just search forums for kxr. Second link should have detailed example.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Henry100
    Reactions Received
    6
    Trophies
    2
    Posts
    35
    • August 20, 2021 at 11:16 AM
    • #4

    MOM

    panic mode

    Thank you for your replies. They should guide me in the right way.

  • ss.sun
    Trophies
    3
    Posts
    35
    • August 23, 2021 at 2:37 AM
    • #5

    please refer to the attachment

    Files

    programming user-defined messages.pdf 4.88 MB – 234 Downloads
  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • August 27, 2021 at 1:39 AM
    • #6

    @Henry100

    problem solved?

    A lot of people are wainting for your response - maybe they had the some problem and waiting for your feed back

  • Henry100
    Reactions Received
    6
    Trophies
    2
    Posts
    35
    • August 30, 2021 at 8:31 AM
    • #7

    MOM

    actually not. I'm still fighting with this topic. In spite of many PDFs plus your replies!:wallbash:

  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • August 30, 2021 at 12:06 PM
    • #8

    Contents of dummy.kxr

    <?xml version="1.0" encoding="utf-8"?>

    <resources xmlns="http://www.kuka.com/schemas/kxr/2009">

    <module name="Dummy">

    <uiText key="ShowMyMessage">

    <text xml:lang="de-DEV">Das ist meine Nachricht</text>

    <text xml:lang="en-DEV">that is my message</text>

    </uiText>

    </module>

    </resources>

    Call

    MsgNotify("ShowMyMessage", "DUMMY")

    Question

    How does your example looks like

  • Henry100
    Reactions Received
    6
    Trophies
    2
    Posts
    35
    • September 2, 2021 at 5:12 PM
    • #9

    Hello MOM


    Thanks, it works. It is easier than what I did. I had to think simply:winking_face:.

    thank you:thumbs_up:...

  • RainerFord
    Reactions Received
    2
    Trophies
    3
    Posts
    27
    • October 21, 2021 at 8:23 AM
    • #10
    Quote from MOM

    Contents of dummy.kxr

    <?xml version="1.0" encoding="utf-8"?>

    <resources xmlns="http://www.kuka.com/schemas/kxr/2009">

    <module name="Dummy">

    <uiText key="ShowMyMessage">

    <text xml:lang="de-DEV">Das ist meine Nachricht</text>

    <text xml:lang="en-DEV">that is my message</text>

    </uiText>

    </module>

    </resources>

    Call

    MsgNotify("ShowMyMessage", "DUMMY")

    Question

    How does your example looks like

    Display More

    Hello

    Tried to do this with your example, but it didn't work

    The notify message goes with ShowMyMessage text, Not with the contents of the created DUMMY.kxr file...

    My KSS version is 8.5.8, but I don't think the problem is the version

    OK, my bad. Do not forget to reboot the controller and reload files:hammer1:

    Edited once, last by RainerFord (October 21, 2021 at 8:56 AM).

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • Notification message with parameters

    • zaidb
    • August 24, 2020 at 4:16 PM
    • KUKA Robot Forum
  • Multiple language ErrWrite/TPWrite/UIMsgBox...

    • robotecnik
    • August 3, 2020 at 7:12 PM
    • ABB Robot Forum

Tags

  • KUKA
  • KRC4

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download