You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Petr Hracek <ph...@gmail.com> on 2010/06/10 10:37:51 UTC

type_checker

Dear apache users,

sorry for bother you with this question but I have a little problem with
multilanguage support in FF or IE.

My module does not handler like type_checker yet.
in the configuration file of Apache2 I have following:

AddLanguage en .en_US
AddLanguage en-us .en_US
AddLanguage en-gb .en_GB
AddLanguage de .de
AddLanguage de-at .de
AddLanguage de-DE .de
AddLanguage pt-br .pt_BR
AddLanguage pt .pt
AddLanguage es .es
AddLanguage fr .fr
AddLanguage it .it
AddLanguage nl .nl

LanguagePriority en-us en en-gb de fr it es nl pt

On the system I have only HTML pages like index.en_US and index.de,
foo.en_US and foo.de

FIRST CASE:
Unfortunatelly when in the browser I set two languages
first de-at
second en-us
then page is always shown in English language.

SECOND CASE:
When browser is so that languages are:
first de-at
second de
third en_us
then page is always shown in German language.

How I should implement type_checker in my module which will modify request
so that in FIRST CASE will work correctly.

Thank you in advance
-- 
Best Regards / S pozdravem
Petr Hracek

Re: type_checker

Posted by Petr Hracek <ph...@gmail.com>.
Could you please help me what spelling is wrong?

I want to add type_checker to my module as last step of course if there will
be no other option.

2010/6/10 Nick Kew <ni...@webthing.com>

>
> On 10 Jun 2010, at 09:37, Petr Hracek wrote:
>
> > Dear apache users,
>
> This is the developers list.  Users are users@.
>
> > My module does not handler like type_checker yet.
>
> Your module?  As opposed to mod_negotiation?
>
> > How I should implement type_checker in my module which will modify
> request so that in FIRST CASE will work correctly.
>
> See the content negotiation docs.  And check your spelling.
>
> --
> Nick Kew




-- 
Best Regards / S pozdravem
Petr Hracek

Re: type_checker

Posted by Nick Kew <ni...@webthing.com>.
On 10 Jun 2010, at 09:37, Petr Hracek wrote:

> Dear apache users,

This is the developers list.  Users are users@.

> My module does not handler like type_checker yet.

Your module?  As opposed to mod_negotiation?

> How I should implement type_checker in my module which will modify request so that in FIRST CASE will work correctly.

See the content negotiation docs.  And check your spelling.

-- 
Nick Kew