Forums / Developer / i18n translation problems

i18n translation problems

Author Message

Pierre SCALFATI

Monday 15 June 2009 3:02:40 am

Hello,

I put a post a few weeks ago concerning problems with i18n translation but had no answer to my post. As it is becoming URGENT, I explain once more my problem hoping to have an answer.

I have a website composed of French content (the default is French) and English content.
Presently, my i18n translation doesn't work. When I am on French Website or English Website, the different labels of my template are always displayed in French.

The site.ini;append.php content for the "fre" (french site) folder is as follows :

[RegionalSettings]
Locale=fre-FR
HTTPLocale=fre-FR
ContentObjectLocale=fre-FR
ShowUntranslatedObjects=disabled
SiteLanguageList[]=fre-FR
TextTranslation=enabled
[ContentSettings]
TranslationList=eng-GB;fre-FR

The site.ini;append.php content for the "eng" (english site) folder is as follows :

[RegionalSettings]
Locale=eng-GB
HTTPLocale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]=eng-GB
TextTranslation=enabled
[ContentSettings]
TranslationList=eng-GB;fre-FR

If anyone can answer it would be of great help.

Best regards.

Pierre SCALFATI

Wednesday 01 July 2009 12:45:33 am

Hello,

Finally I've found what was wrong with my configuration. I looked in my site.ini.append.php in my mysite\settings\override folder and found a RegionalSettings block which was declared with french (fre-FR) as Locale. So I removed totally from that file the [RegionalSettings] block (because everything is declared for that block in my mysite\extension\ezwebin\settings\siteaccess\fre\site.ini.append.php and mysite\extension\ezwebin\settings\siteaccess\eng\site.ini.append.php.

I went then in the site.ini.append.php which is in mysite\extension\ezwebin\settings and reduced the content of the [RegionalSettings] block to the following :

[RegionalSettings]
TranslationExtensions[]=ezwebin

 

I hope it will help.

Best regards.