1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Internationalization

By

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.

  1. About.com
  2. Technology
  3. Ruby
  4. Ruby on Rails
  5. Internationalization

©2014 About.com. All rights reserved.