In a Sitecore Treelist or Multilist, items available for selection and items that have been selected are displayed using their Display Name. However, the language version that the Display Name is pulled from is the current Client Language, not the currently selected language of the item being edited.
An example illustrates the problem a little better...
We are importing a large amount of content into Sitecore in en-GB
. We are not creating en
versions of this content. Authors are logging in with a default content language of en-GB. However, Sitecore Client Language is only available in base en
. The actual name of these items is not very useful (it's an external system ID), so we want the authors to see the en-GB
Display Name in Treelist, Multilist, etc. However since their Client Language is en
, they do not.
I see two potential solutions:
- Somehow modify or trick the controls into using the currently selected language of the content item when rendering list items. (Preferable)
- Somehow duplicate the
en
Client Language so we can set the user's Client Language toen-GB
.
Any ideas on how to execute either solution, or alternative approaches to solving the problem would be appreciated.