Forums / Developer / Translation problem / Comment51228

Author Topic

Lukasz Klejnberg

Thursday 18 June 2009 2:47:24 am

Comment51228

Hi,

To test your problem I installed the latest version of Exponential 4.1.3 with ezwebin in three languages with the default French, English and Polish.

After installation, i go to the user/register to check whether the translations are good phrases using the i18n() and after switching from French to English version appeared in all the same language (english), and the same was of the Polish language. I checked the articles, adding a new in these three languages and was also good.

Write what is generated for the Exponential installation (information about the language ):

<b>settings/override/site.ini.append.php</b>

[SiteSettings]
DefaultAccess=fre
SiteList[]
SiteList[]=fre
SiteList[]=fre
SiteList[]=eng
SiteList[]=pol
SiteList[]=admin
RootNodeDepth=1

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]
AvailableSiteAccessList[]=fre
AvailableSiteAccessList[]=fre
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=pol
AvailableSiteAccessList[]=admin
MatchOrder=uri
HostMatchMapItems[]

[RegionalSettings]
TranslationSA[]
TranslationSA[fre]=Fre
TranslationSA[eng]=Eng
TranslationSA[pol]=Pol

<b>settings/siteaccess/fre/site.ini.append.php</b>

[SiteSettings]
SiteName=Website Interface
SiteURL=localhost/test/index.php/fre
...

[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]
RelatedSiteAccessList[]=fre
RelatedSiteAccessList[]=fre
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=pol
RelatedSiteAccessList[]=admin
ShowHiddenNodes=false

[DesignSettings]
SiteDesign=ezwebin
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=base

[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=fre-FR
TextTranslation=enabled

[ContentSettings]
TranslationList=eng-GB;pol-PL

<b>settings/siteaccess/eng/site.ini.append.php</b>

[SiteSettings]
SiteName=Website Interface
SiteURL=localhost/test/index.php/eng
...

[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]
RelatedSiteAccessList[]=fre
RelatedSiteAccessList[]=fre
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=pol
RelatedSiteAccessList[]=admin
ShowHiddenNodes=false

[DesignSettings]
SiteDesign=ezwebin
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=base

[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=eng-GB
SiteLanguageList[]=fre-FR
TextTranslation=disabled

[ContentSettings]
TranslationList=eng-GB;pol-PL

Like I said it checked on the version ezwebin. Maybe this information contained in the configuration files useful you are to solve your problem. If you came to what was wrong, and do write on this subject.

Regards,
Lukasz