[Po4a-devel] suggestion for the website http://po4a.alioth.debian.org

D. Barbier bouzim at gmail.com
Tue Jul 30 19:48:39 UTC 2013


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



More information about the Po4a-devel mailing list