Forums / Setup & design / translating ezselection

translating ezselection

Author Message

Vjeran Vlahovic

Tuesday 22 August 2006 11:04:45 am

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?

http://www.netgen.hr/eng

Marcin Drozd

Tuesday 22 August 2006 11:48:48 am

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/setup_design/multilingual_static_texts_how_to_reuse_and_customise
Lukasz post: 2. Create translation extension)

http://ez-publish.pl