Google is your friend, but let me just post the result of the 30
seconds of entering the right keywords in a search engine gave me.
On 06 May 2011, at 08:43, Quijote70 wrote:
I'm preparing a new site web, could you suggest me what technology use
to:
- render a diferent page depending of the browser ex: iPhone/iPag/
Android phone/ ecc ecc
http://www.slashdotdash.net/2007/12/04/iphone-on-rails-creating-an-iphone-optimised-version-of-your-rails-site-using-iui-and-rails-2/
It's easy to figure out for yourself how to detect Android and the
likes.
- have a site web multi language
http://guides.rubyonrails.org/i18n.html
- select the language using geoip or the language of the browser?
https://github.com/iain/http_accept_language
Don't bother with geoip or any other "educated guesses". I for one
live in Belgium and my OS and browser are set to English. Not only is
it really annoying to have a website decide that I do not want the
English version, but usually it takes me to a French version even
though I'm Flemish and thus speak Dutch.
Best regards
Peter De Berdt
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" 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/rubyonrails-talk?hl=en.