Sunday 03 August 2003 9:45:37 am
As far as I can tell, creating a multi-lingual site with EZ Publish is impossible - at least if you want all content to adhere to the selected Locale. I have managed to localize the content of template files, through x18n. The current view of the content module displays the language specified in the URI. But, the _template functions_ do not seem to take into account neither the currently chosen locale, nor the language specified in the querystring, when content is fetched from the database. The site I'm working on relies heavily on the {fetch("content","list",...)} function, and so far, attempts of receiving content in any language other than Norwegian have been unsucessful. I have tried browsing through the attributes returned by content list, by using |attribute(show), and have come across objects that contain lists of available translations and locales. I found no data structure that would allow easy access to the translation corresponding to the selected locale. I know I could be missing something, so if you have any suggestions on what to do, please respond.
|