Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello Community,
I am in need of localizing a state definition used in a button bar in a 9.3.5 platform.
Currently it looks like this:
As you can see, it is now in English.
If I wanted to change this text to another language, how could I do that?
My first though was to just edit the State definition used in this widget like so;
from: to:
But it seems like this doesn't work.
Is there any other way I could do this?
Any help with this would be highly appreciated!
Thanks,
Jens
Solved! Go to Solution.
I only found the static solution to set a label in the widget (see bottom left):
Inspecting the .js code of the widget it does not look there is another possibility: It checks if the widget "property" exists (we can set in builder), if not it takes the displayName:
I only found the static solution to set a label in the widget (see bottom left):
Inspecting the .js code of the widget it does not look there is another possibility: It checks if the widget "property" exists (we can set in builder), if not it takes the displayName:
Hello @nmutter,
Ah... I had completely missed the widget properties for the different state labels!
It is perhaps not exactly what I wanted to be able to do, as it will require us to manually change each mashup where the state is used.
But it is close enough to fix my issue.
Thanks!
Jens