I'll look into that but I'm not sure because Polish is not a language
thats spoken widely so there is a pretty good chance that if a user
connects from outside of Poland he'll want it in English. If it proves
to be a big problem I'll just go with a language selector because even
thinking very very far ahead i can't picture the site exceeding 5
languages anyways (will probably remain bilingual well beyond the
point where I'll have enough cash to point a finger, have it done and
not do real work ever again ^^ )

On Nov 6, 7:01 pm, Domizio Demichelis <[email protected]> wrote:
> Instead of trying to geo-locate the client, a better solution may be just
> read and parse the ACCEPT_LANGUAGE request header. Indeed I am quite upset
> when a site serves me spanish pages just because I am connecting from the
> Dominican Republic, while my preferred language set in the browser is
> english. You should avoid that.
>
> When I was a ruby/rails n00b I wrote a simple plugin that could be useful
> for your need. I have no idea whether or not it still work, since I
> abandoned it, but someone else put my old naive code on github, so you can
> take a look at it and eventually use at least the header parsing 
> part:https://github.com/leandronunes/localist
>
> ciao
> dd

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to