Quijote70
2011-May-06 06:43 UTC
NEW PROJECT - different render depending of browser / multilingual site
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 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Peter De Berdt
2011-May-06 08:28 UTC
Re: NEW PROJECT - different render depending of browser / multilingual site
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 ecchttp://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 languagehttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
satishnkota-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2011-May-08 13:24 UTC
Re: NEW PROJECT - different render depending of browser / multilingual site
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 On May 6, 11:43 am, Quijote70 <sergio.angele...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.