Thursday 28 October 2010 1:19:21 am
Hi Brijesh, Accessing content from the tpl language, or PHP api should automatically return the localized/translated data, if translations were setup beforehand. The chosen language/locale are conditioned by the current siteaccess' settings, in site.ini (the respective override placed in the your siteaccess directory : settings/siteaccess/<siteaccessname>/site.ini.append.php), under RegionalSettings. The default, english eZ Flow one looks like this :
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=eng-GB
TextTranslation=disabled More information on configuring eZ Publish for nice localisations : http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Configuration-files/site.ini/RegionalSettings Cheers !
--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board
eZ Publish Community on twitter: http://twitter.com/ezcommunity
t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye
|