Image translation

0
Hello,  I created an application with Mendix Studio Pro. In one of the pages I have a static image. Since my app is bilingual, how can I "translate" the image.  That is for “Language A” to render “Image 1”, for “Language B" to render “Image 2”, in the same place? For reference, in other systems when you translate content it asks you for different images in different languages, but here I can't find such an option.
asked
1 answers
0

hii Ivelin Stoyanov,

take a attribute in Db like laguage boolean type . set default it false.

place use visiblity condition and select a expression when language A then ‘image 1’ else ‘image 2’

don’t forget to update language attribute value. false to true and true to false.

hope this will help you.

answered