Re: Translations not even working?

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: Alexey Borzov <borz_off(at)cs(dot)msu(dot)su>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: Translations not even working?
Date: 2007-02-18 10:53:53
Message-ID: 45D83041.8000006@wildenhain.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Alexey Borzov schrieb:
> Hi,
>
> Magnus Hagander wrote:
>> Can someone verify if what we have now *even works*? I've been trying
>> for a while to make sure that works, but I can't make it :-(
>>
>> I configured my browser to prefer French, but I still only get served
>> the English pages. This is both from www and wwwmaster. The only page I
>> know that's actually translated is the presskit, available at
>> http://www.postgresql.org/about/press/presskit82.html.
>>
>> Can someone confirm if this thing *ever* shows up translated based on
>> the language in the browser? (I know there are direct links to the
>> translated version, that's something completely different. I'm talking
>> about the automatically-show-the-correct-language stuff)
>
> I confirm that it displays in Russian for me, *if* you access it as
> http://www.postgresql.org/about/press/presskit82
>
> If you access that as
> http://www.postgresql.org/about/press/presskit82.html then content
> negotiation is not performed. See the docs for Apache:
> http://httpd.apache.org/docs/1.3/content-negotiation.html

Well you could just name the files: file.html.en, file.html.fr, ..
instead of file.en.html and so on. But otoh, link to the
unqualified resource looks better anyway :-)
(e.g. just "file")

Regards
Tino

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Tino Wildenhain 2007-02-18 10:55:48 Re: Translations not even working?
Previous Message Guillaume Lelarge 2007-02-17 17:22:06 Re: Translations not even working?