Forums / Setup & design / i18n problem

i18n problem

Author Message

Børge Warvik

Thursday 06 December 2007 3:50:19 am

I'm working on a multilingual site (using ez publish 3.10) and have set up siteaccesses for the different languages using both uri and host setup (i.e. dev.mysite.com/it and dev.mysite.com/gb).

I'm have trouble with the i18n operator. Nomatter what I've tried I can't get any translation! I've set full rights on the share folder and all subs.

This:

{'Any class'|i18n('design/standard/content/search')}

will give me "Any class" nomatter what language I'm showing.

This:

{ezini('RegionalSettings', 'Locale', 'site.ini')}

outputs the locale and it shows that the locale is changing when I change language. I'm doing the exactly same thing in a site running version 3.8.4

Can anyone help?

Thanks,
Børge

Jon Staines

Monday 10 December 2007 7:33:09 am

You've probably checked this already but in you site.ini.append.php for that siteaccess have you got TextTranslation=enabled in the RegionalSettings part?

Børge Warvik

Tuesday 11 December 2007 2:46:26 am

Yes, that was the problem. Thanks!