Re: [Zope] Multilingual sites
Geir Bækholt Hansen <geirh@funcom.com> writes:
In the final production-site, the correct language-documents will be served up paccording to top-level-domain : .com wil get english, .no will get norwegian etc..
why not using the Browser feature to select the right language. Is is implemented e.g. through the apache web server, IMHO the mechanism is called content negotiation, but I'm not sure. It would be nice, if Zope would support this feature from the main source. Bye Christian -- Dipl.-Ing. Christian Leutloff, Aachen, Germany christian@leutloff.de http://www.oche.de/~leutloff/ leutloff@debian.org Debian GNU/Linux - http://www.de.debian.org/
Christian Leutloff wrote:
why not using the Browser feature to select the right language. Is is implemented e.g. through the apache web server, IMHO the mechanism is called content negotiation, but I'm not sure.
It would be nice, if Zope would support this feature from the main source.
Have a look at "A Real World Example" at the following HowTo: http://www.zope.org/Documentation/How-To/ExternalMethods Regards, Daryl Tester
on Saturday, May 06, 2000 Christian Leutloff wrote : CL> Geir Bækholt Hansen <geirh@funcom.com> writes:
In the final production-site, the correct language-documents will be served up paccording to top-level-domain : .com wil get english, .no will get norwegian etc..
CL> why not using the Browser feature to select the right language. Is is CL> implemented e.g. through the apache web server, IMHO the mechanism is CL> called content negotiation, but I'm not sure. CL> It would be nice, if Zope would support this feature from the main CL> source. CL> Bye CL> Christian This would be an easy thing to do, using REQUEST.HTTP_ACCEPT_LANGUAGE, but we prefer to leave our users in control, letting them choose their language themselves independent of browser localization. Here in scandinavia, a lot of people use US/english OS and browsers, partly because they're used to it, partly because you'll get upgrades a bit quicker.. -- Geir Bækholt Hansen web-developer/designer geirh@funcom.com http://www.funcom.com
At 8:52 Uhr +0200 8-5-00, Geir BÊkholt Hansen wrote: ...
CL> why not using the Browser feature to select the right language. Is is CL> implemented e.g. through the apache web server, IMHO the mechanism is CL> called content negotiation, but I'm not sure.
CL> It would be nice, if Zope would support this feature from the main CL> source.
CL> Bye CL> Christian
This would be an easy thing to do, using REQUEST.HTTP_ACCEPT_LANGUAGE, but we prefer to leave our users in control, letting them choose their language themselves independent of browser localization. Here in scandinavia, a lot of people use US/english OS and browsers, partly because they're used to it, partly because you'll get upgrades a bit quicker..
But the language setting is still a user choice. It is set in the Preferneces of your browser. I think it is the best way for a choice of the server, but I still offer the user information that this was done and a language choice, so they can switch to the language they preffer for that site.
-- Geir Bækholt Hansen web-developer/designer geirh@funcom.com http://www.funcom.com
Jochen
participants (4)
-
Christian Leutloff -
Daryl Tester -
Geir B�kholt Hansen -
Jochen Haeberle