eZ Community » Forums » Setup & design » translating ezselection
expandshrink

translating ezselection

translating ezselection

Tuesday 22 August 2006 8:04:45 pm - 1 reply

I am running multilanguage website and I have an ezselection attribute of an employee class which contains job title values. I want somehow to show translation of chosen value. Any advices how to that?

Tuesday 22 August 2006 8:48:48 pm

Hi
U can change (in /content/datatype/view/ezelection.tpl)
from
{$Options.item.name|wash( xhtml )}
to
{$Options.item.name|i18n('mytranslation')|wash( xhtml )}
and create translation extension (see http://ez.no/community/forum/setu...tic_texts_how_to_reuse_and_customise
Lukasz post: 2. Create translation extension)

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from