On 2013/6/13 Didier Spaier wrote:
Hi all,
First, thanks for po4a, very useful for maintaining web pages in xhtml
format in several languages.
Suggestion: why not use content negotiation?
This way the web server (Apache, I guess) could serve the page in the
language matching user preference if set in his or her browser.
That would avoid changing the language for each page visited.
For instance on
http://slint.fr I have following .htaccess:
Options +Multiviews
AddLanguage en .en
AddLanguage es .es
AddLanguage fr .fr
AddLanguage pt .pt
LanguagePriority es fr pt en
ForceLanguagePriority Fallback
and pages are named:
index.html.de
index.html.es
index.html.fr
index.html.pt
Hello Didier,
In fact we already use content negociation on the website, but it is
indeed broken, this is fixed now.
Thanks for your report.
Denis