November Happy Hour will be moved to Thursday December 5th.

Translating - Multiple or single choice field

Vote:
 

Currently on a multi language site we want to use a Multiple or single choice field. However the items are not translatable in a different language. At least the choice how it is displayed in the front-end should be translatable as this might need to differ per language. Is this something that will be built-in in future releases?

#199647
Dec 04, 2018 12:09
Vote:
 

Hi Jeroen,

As I know there is no built-in property for this. You can work around by using Enum type and add xml translations for appropriated enum.

Here is the reference link https://world.episerver.com/blogs/russell-mercer/dates/2015/1/post-title/.

When displaying the choosen value then you should get translated value instead of real value

#199748
Dec 10, 2018 7:54
Vote:
 

Thanks, that similar approach we already used at some blocks. However that requires some custom form elements to create this functionality within EPI Forms unfortunately.

#199844
Dec 13, 2018 16:02
Vote:
 

Jeroen,
You could submit this as a feature request in this forum: https://world.episerver.com/forum/developer-forum/Feature-requests/

#199845
Dec 13, 2018 16:23
Vote:
 

you could give a try for db localization provider (that supports enum based properties) - https://blog.tech-fellow.net/2018/12/29/localized-episerver-enum-properties/

at least it translates values for specific languages for episerver admin ui, I'm a bit off the ring how it was implemented for forms tho... so just a speculations here.

#200069
Dec 30, 2018 3:44
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.