Question
1
Replies
60
Views
Posted: September 8, 2017
Last activity: September 11, 2017
Closed
Localization;-how to call an image for diffrent languages
hi..,
issue: the below "New" image should translate , basically in localization if we have any label simple we can create a language specific rule set and use get localized method , but it is a HTML code how can I call image for different languages.
I have one section it's not an auto generated HTML. In section I have HTML code like below
this is the source form image library
Hi Sunil
As rightly understood by you, images cannot be localized. But, I have the following suggestion that you could perhaps try.
I haven't tried this personally, but here is a thought.
Operator record should have information about locale. I think this is captured in pxLocale property. If it isn't this property, find the equivalent property.
Depending upon the locale, expect to show a different image. You anyway have non-autogenerated HTML. If it is say spanish locale, show a specific image with spanish text in the image and say it is turkish, expect to show that image.
Hope this helps.
Bhuvana.