Translation of custom fields in Products?
Posted: Wed Sep 10, 2008 6:57 am
Hi to all, please help. How to translate custom fields - dropdown options with lang=""?
In products module you can add custom fields on page "Field Definitions" and after that i retrive them in my detail template with
And here everything is good, but if you add custom field "Dropdown" with some parameters - How to translate these Dropdown parameters, and if is set . to display these combobox options in russian lang?
Is there a function on language file somthing like for example for dropdown items?
Please help
In products module you can add custom fields on page "Field Definitions" and after that i retrive them in my detail template with
Code: Select all
{foreach from=$entry->fields item='onefield'}
{if $onefield->name == 'transport'}
{if $onefield->value ne ''}<li>{$mod->Lang('transport')}{$name}<strong>{$onefield->value}</strong></li>{/if}{/if}{/foreach}
Code: Select all
{Products pagelimit="30" lang="ru_RU"}
Is there a function on language file somthing like
Code: Select all
$lang['sity']['area'] = 'areositie';
Please help