I programmed an URCap, that includes a ProgramNode and a template that uses this ProgramNode. Basically I change language of Descriptions, comments etc using resource files and load them depending on which language is set on the robot. If I create the template using the ProgramNodeFactory to add wayponts, folders, comments and my URCap ProgrammNode, it will do it in the right language.
My problem is the following
- set languag of UR o german
- create program where I added my URCap template ProgramNode (everything is fine and in german)
- save program
- change language of UR to english
- restart robot
- open the program
Parts of the my URCap template like MoveNode and my URCap ProgramNode changed the language (marked in green in the images below.
Parts of the my URCap template like Folder and comments did not changed the language, they are still in german (marked in redin the images below.
Create and Store in german:
Open in english:
How can I change the folder name and comments to other language when open a program.