1. Home
  2. Computing & Technology
  3. Ruby

Internationalization

By Amanda & Michael Morin, About.com

Dec 19 2008

Newly generated Rails projects will now come pre-configured to use locale files. Just drop your translated locale files in config/locales and you're ready to go.

Locales allow you to present your website in multiple languages. Instead of hard-coding all the text of your website, you can query the locale files for the text. This allows you to easily support multiple languages, give locale files to a translator for translation, etc. Good support for internationalization is important for any web framework like Rails.

For more information about internationalization on Rails projects, see the Rails I18n homepage.

Explore Ruby
By Category
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. Ruby on Rails
  5. Internationalization

©2009 About.com, a part of The New York Times Company.

All rights reserved.