Isn't it possible to autodetect the language based on the ip address on fedoraproject.org? Like google does ? This, but leaving the option to change the language if there's a mistake (proxy or something).
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
That would be cool! Or, they can use the info the browser sends in the header... 'cause here in the gulf, we have people from all over the world, and not all of them speak Arabic, so it's much better if they can choose the language they want... It's also a good idea to remember the user's preferred language, either by cookies, or by IP address...
Cheers!
On 10/29/07, Alexandru Szasz alexxed@gmail.com wrote:
Isn't it possible to autodetect the language based on the ip address on fedoraproject.org? Like google does ? This, but leaving the option to change the language if there's a mistake (proxy or something).
-- Alexandru Szasz -- Fedora-trans-list mailing list Fedora-trans-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-trans-list
Hi,
2007/10/29, Alexandru Szasz alexxed@gmail.com:
Isn't it possible to autodetect the language based on the ip address on fedoraproject.org? Like google does ? This, but leaving the option to change the language if there's a mistake (proxy or something).
I think there were some discussions about this, you may search through the mail archive for the thread.
Regards!
On Mon, Oct 29, 2007 at 10:42:30AM +0200, Alexandru Szasz wrote:
Isn't it possible to autodetect the language based on the ip address on fedoraproject.org? Like google does ? This, but leaving the option to change the language if there's a mistake (proxy or something).
The website should automatically use whatever language that the browser is setup to request (using the Accept-Language header) with English as a fallback. (The setting should be under Edit->Preferences->Advanced-> Languages in Firefox).
In terms of automatically detecting based on IP. This could probably be done with mod_geoip, but I'm not that comfortable with mapping countries to languages, etc. I think Accept-Language + manual choice gives a good balance.
Thanks, Ricky