Translations not even working?

Lists: pgsql-www
From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Translations not even working?
Date: 2007-02-17 14:27:15
Message-ID: 45D710C3.8060100@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

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)

//Magnus


From: Alexey Borzov <borz_off(at)cs(dot)msu(dot)su>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: Translations not even working?
Date: 2007-02-17 16:03:01
Message-ID: 45D72735.6050806@cs.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

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


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Alexey Borzov <borz_off(at)cs(dot)msu(dot)su>
Cc: PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: Translations not even working?
Date: 2007-02-17 17:16:56
Message-ID: 45D73888.9060808@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

Alexey Borzov wrote:
> 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

There you go. Wasn't aware of that, I was trying with the .html only.

Thanks!

//Magnus


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: Translations not even working?
Date: 2007-02-17 17:22:06
Message-ID: 45D739BE.1040502@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

Magnus Hagander a écrit :
> 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.
>

It doesn't work for me.

--
Guillaume.
<!-- http://abs.traduc.org/
http://lfs.traduc.org/
http://docs.postgresqlfr.org/ -->


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
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


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

Alexey Borzov schrieb:
...
> 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

Ah, just to add:

http://www.postgresql.org/layout/images/hdr_right.png

should equally addressed in pages as
http://www.postgresql.org/layout/images/hdr_right

instead to be able to translate it too.

Regards
Tino