| Tuesday 07 August 2007 11:40:56 pm 
                                                                
                                                                 
Hello,After going through the forum and trying the suggested solutions, I did not managed to make the translation from French language (default language) to English language using extension ezwebin
 I have two siteaccess: "fr" and "en" with the following site.ini.append.php configurations # The fr siteaccess 
[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR
SiteLanguageList[]=fre-FR
TextTranslation=disabled
 # The en siteaccess 
[RegionalSettings]
Locale=eng-GB
SiteLanguageList[]=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=enabled
TextTranslation=enabled
 In my settings override I have the following site.ini.append.php 
[SiteSettings]
DefaultAccess=fr
SiteList[]=fr
SiteList[]=en
SiteList[]=newsletter_editor
SiteList[]=fr_admin
...
[ExtensionSettings]
ActiveExtensions[]=ezwebin
....
[SiteSettings]
DefaultAccess=fr
...
[ContentSettings]
TranslationList=eng-GB
 And in my ezwebin settings site.ini.append.php I have 
[TemplateSettings]
ExtensionAutoloadPath[]=ezwebin
[RegionalSettings]
TranslationExtensions[]=ezwebin
 
I have in the ezwebin translations folder two folders eng-GB and fre-FR which contains both one translation.ts file.The typical content of the translation.ts in eng-GB looks like this
 
<context>
	<name>design/ezwebin/pokute</name>
	<message>
		<source>Petit test</source>
		<translation>Small test</translation>
	</message>
</context>
 In one template I use the following template code: 
{"Petit test"|i18n('design/ezwebin/pokute')}
But the translation does not occur when I switch to the English site.I have noticed that (ezini('RegionalSettings','Locale') gives the correct eng-GB locale when switching to the English.
 
Can someone help to find some solution please?Thank you
 David |