Re: Translations not even working?

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: Translations not even working?
Дата
Msg-id 45D83041.8000006@wildenhain.de
обсуждение исходный текст
Ответ на Re: Translations not even working?  (Alexey Borzov <borz_off@cs.msu.su>)
Список 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


В списке pgsql-www по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Translations not even working?
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: Translations not even working?