Attribute values are not translated when changing language

0
Question: We have a microflow that creates objects for an entity with an attribute '/Name'. In this microflow, we set the value of this attribute directly, without any user input. The '/Name' attribute is an enumeration, and we've pre-translated its values in both Dutch and English using batch translation. When the user selects English as their language and runs the microflow to create an object, the '/Name' attribute is translated correctly to English. However, if the user then switches back to Dutch, the '/Name' attribute remains untranslated, even after logging out and clearing the cache. Can you suggest possible causes for this issue?
asked
2 answers
1

Hey Jens Mertens,

 

Check this!

 

https://community.mendix.com/link/space/studio-pro/questions/125102

answered
0

A few questions, to ascertain whether it's the logic or maybe just a "browser be browsin' " (yes, that's a thing).

 

What's the microflow? You specify create but does it also update? In the case of it being a translation (i.e. a language in the modeler where an attribute/string has multiple different translations) you are going to have to change the system language in the microflow. To actually force the session to use the translated variant of x language.

 

It kinda depends on how you have it set up. Elaborate and we will find out and fix it!

 

answered