This post originated from an RSS feed registered with Ruby Buzz
by Warren Brian Noronha.
Original Post: Multilingual Web Applications
Feed Title: HyperionReactor - Ruby, Ruby On Rails
Feed URL: http://viper.unixbsd.info/suspended.page/
Feed Description: My blogs on Ruby and Ruby on Rails.
Not everyone speaks the same language, Google and Yahoo have lead the way to multilingual web applications. Rails promotes Web 2.0, and I think accessing your favorite application in your own language is a must for Web 2.0. I spent some time yesterday trying out the different ways of making my application support multiple languages, most of them were too complex for a Rails newbie to install and use. Rails has always been all about "out of the box" features, so I decided to sit and code up support for multilingual Rails.
These are some of the reports and benchmarks:
Run 1:
India in HINDI (No Lib) (0.11173)
India in HINDI (With Lib) (7.13423)
Run 2:
India in HINDI (No Lib) (0.05853)
India in HINDI (With Lib) (5.71569)
20 minutes and 2 smokes later....
Run 1:
India in HINDI (No Lib) (0.12789)
India in HINDI (With Lib) (0.14528)
Run 2:
India in HINDI (No Lib) (0.06777)
India in HINDI (With Lib) (0.09169)
Kinda going slow on the code, since Im down with a pretty bad cold. Hopefully by tonight I will have a patch ready, oh btw you dont need to upgrade to the latest version of Rails for this to work. If you have a older release, it works with that too.