Ruby on Rails Upgrades Internationalization

Ruby on Rails Upgrades Internationalization

Written By
Darryl K. Taft
Darryl K. Taft
Nov 21, 2008
3 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

With a new framework, Ruby on Rails now has improved support for internationalization.

In a blog post entitled, “Myth #6: Rails only speaks English,” David Heinemeier Hansson, the creator of Ruby on Rails, explains the addition to the Rails platform that makes it easier for developers to create applications for languages other than English.

“It used to be somewhat inconvenient to deal with UTF-8 [Unicode Transformation Framework] in Rails because Ruby’s primary method of dealing with them was through regular expressions,” Hansson said. “If you just did a na???ve string operation, you’d often be surprised by results and think that Ruby was somehow fundamentally unable to deal with UTF-8.”

Hansson said with Ruby on Rails 2.2, which was released on Nov. 21, internationalization will be easier with the Ruby-based Web framework. “Rails 2.2 ships with a simple internationalization framework that makes it silly-easy to do translations and locales,” he said. “There’s a dedicated discussion group, wiki and Web site for getting familiar with this work. I’ve been using it in a test with translating Basecamp to Danish and really like what I’m seeing … Rails is very capable of making sites that need to be translated into many different locales. Before Rails 2.2, you’d have to use one of the many plug-ins. After Rails 2.2, you can use what’s in the box for most cases (or add additional plug-ins for more exotic support).”

Adoption of the Spring Framework is soaring. Click here to read more.

Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. Localization is the process of adapting software for a specific region or language by adding locale-specific components and translating text.

Although there were ways to add internationalization before Rails 2.2, they were not as efficient as the new framework, Hansson said. He wrote:

“It was long a point of contention that Rails didn’t ship with a[n] internationalization framework in the box. There has, however, long been a wide variety of plug-ins that added this support. There was localize, globalize and many others. Each with their own strengths and tailored to different situations.All these plug-ins have powered Rails applications in other languages than English for a long time. Some made it possible to translate strings to multiple languages, others just made Rails work well for one other given language. But whatever your translation need was, there was probably a plug-in out there that did it.“

Intridea, a Ruby on Rails software maker and consultancy, announced that the CSI (Computer Security Institute), a community of security experts and professionals, has chosen Present.ly to be the official microblogging technology provider for all their Web and mobile collaboration and communication needs.

Present.ly is a Ruby-on-Rails-based, on-demand enterprise social media solution from Intridea. The product is a Twitter-like tool for the enterprise. Barg Upender, CEO and founding partner of Intridea, said Present.ly is written in Ruby, Ruby on Rails and Erlang.

SI Director Robert Richardson called Present.ly a “safe and secure business alternative to mainstream social media tools Facebook, MySpace and Twitter.” Richardson said distinguishing characteristics of Present.ly include advanced security and permission controls, group functionality, Twitter interoperability, file sharing, an open API, scalability, and an appealing interface.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.