public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Page <[email protected]>
To: Omar Kilani <[email protected]>
To: [email protected]
Subject: Re: [PATCH] Language selection based on browser preference, use UTF-8, care about direction, etc
Date: Mon, 15 Nov 2004 22:24:17 -0000
Message-ID: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4307158@ratbert.vale-housing.co.uk> (raw)
Thanks Omar, patch applied!
Regards, Dave
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Omar Kilani
> Sent: 15 November 2004 08:00
> To: [email protected]
> Subject: [pgsql-www] [PATCH] Language selection based on
> browser preference, use UTF-8, care about direction, etc
>
> Hello,
>
> Attached patch:
>
> * Picks a language based on the actual browser preference.
> * Makes all pages default to UTF-8.
> * Adds language direction support.
> * Makes pages tell the browser what language they're in.
> * Fixes language_map.
> * Adds a couple of extra handy language functions.
>
> It's in place at our pgweb, but diffed against gborg. Set
> your browser to 'de' (Tools -> Options -> General ->
> Languages, add 'German [de]' and move it up to the top) and
> you'll see a german news item at the top (I google translated
> it) of the homepage. Go to About/Advantages and you should
> see the german version of the page from advocacy.
> Right-clicking on the page and clicking 'Properties' should
> say "Text Language: German."
>
> Clicking the Arabic or Hebrew on the bottom should switch the
> page direction.
>
> Omar
>
view thread (3+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: [PATCH] Language selection based on browser preference, use UTF-8, care about direction, etc
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4307158@ratbert.vale-housing.co.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox