Forums / General / Translation Issue...
Carlos Revillo
Monday 19 June 2006 3:48:45 am
Hi. Now i've got three siteaccess in my site. One is for french language.
Regionalsites in site.ini.append of this siteacces looks like
[RegionalSettings] Locale=fre-FR ContentObjectLocale=fre-FR SiteLanguageList[]=fre-FR SiteLanguageList[]=eng-GB SiteLanguageList[]=esl-ES
I've developen an extension, and i added french templates to it. One of the templates has this line...
{$date|datetime(custom,"%l, %d %F %Y")}
I want day and month name in French, but i "get spanish version" of those names... what can be wrong?
thanks.
Kristof Coomans
Monday 19 June 2006 4:45:03 am
Hi Carlos
Use the l10n template operator ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_operators/formatting_and_internationalization/l10n ) instead of datetime.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Monday 19 June 2006 6:36:02 am
Thanks Kristof, but still don't work. I'm still getting spanish version...
Monday 19 June 2006 6:40:38 am
Forget it. I forgot to pass second parameter to the function. All is ok now. Thanks so much again.