Wednesday 19 April 2006 7:03:57 am
Ok. So now I'm using 3.8 beta 2. "so if the language you have set for the siteaccess is unavailable, you can fall back to a specific alternative on a per-siteaccess basis. e.g. for the Swiss site: fre-SW > fre-FR > eng-GB" The fallback is not working for me :( I have set a specific site access for "portuguese countries" (site access name "po") with 2 languages : por-PT (portuguese from PORTUGAL) and por-BR (portuguese from Brasil). When I go on /mysite/index.php/po/(language)/por-BR/, it doesn't fallback to pro-PT translation when the pages are translated in por-PT but not in por-BR. It just display blank content. my "override/site.ini.append.php" :
[Session] SessionNameHandler=custom
[SiteSettings]
DefaultAccess=site
SiteList[] SiteList[]=site
[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]
AvailableSiteAccessList[]=fr
AvailableSiteAccessList[]=por
AvailableSiteAccessList[]=site_admin
MatchOrder=uri
HostMatchMapItems[]
RelatedSiteAccessList[]
RelatedSiteAccessList[]=fr
RelatedSiteAccessList[]=por RelatedSiteAccessList[]=site_admin
[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR TextTranslation=enabled
[MailSettings]
Transport=SMTP
TransportServer=
TransportUser=
TransportPassword=
AdminEmail=admin@sqli.com EmailSender= And my "siteacces/por/site.ini.append.php" :
[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
User=root
Password=
Database=test
Charset= Socket=disabled
[InformationCollectionSettings] EmailReceiver=
[SiteSettings]
SiteName=Site
SiteURL=localhost/monEasyPHP/ezpublish-3.8/index.php LoginPage=embedded
[UserSettings] RegistrationEmail=
[SiteAccessSettings]
RequireUserLogin=false ShowHiddenNodes=false
[DesignSettings]
SiteDesign=news_site AdditionalSiteDesignList[]=base
[RegionalSettings]
Locale=por-PT
ContentObjectLocale=por-PT
SiteLanguageList[]=por-PT
SiteLanguageList[]=por-BR TextTranslation=enabled
[FileSettings] VarDir=var/news_site
[ContentSettings] TranslationList= Thank you to help me. Fred
|