Hi All,
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
-
have a site web multi language
-
select the language using geoip or the language of the browser?
Thanks All
SAC
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
- select the language using geoip or the language of the browser?
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
good to use Ruby on Rails…and if you want to render different
page…then use the application controller and in it use a before
filter to identify the request object and finally get the browser from
the request
Regards
Satish N Kota