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.
