From: Shaun M. <sh...@ae...> - 2004-07-08 12:57:55
|
On 7 Jul 2004, at 20:29, Matthew McNaney wrote: > On Tue, 2004-07-06 at 11:05, Tony Miller wrote: >> What would be really nice though, is to have a language module where >> you >> could look up the language preferance of the user and support a >> language >> tag in the URL, such a ?lang=en on the end of the page. Then you >> could >> create web pages with a selectable language attribute, and have it >> presented to the user who requests the information. Then the page in >> multiple languages would be near the same place. > > That would be a good idea. There is nothing saying that a developer > couldn't gear their module to do so. I'd guess that what is being alluded to is that if the user has selected 'French' then if there are translations of announcements into French then these are presented instead of the English in the front page list and as full announcements. If no translation matching the users language is available then the default language version is presented. Some method of tagging translations as replacing the default language version would be needed and this would be a useful cross-module standard method that could be carried on to pagemaster, phatform or whatever. I don't think it needs anything added that's not there already and the use of PO files is incidental to the translation and presentation of dynamic content. You just need someone to step up and create a multi-language capable version of the announce module that pays attention to the language setting. Shaun aegis design - http://www.aegisdesign.co.uk |