Some common questions on getting started - Get on Rails with Globalize! Part 2 of 8
posted: December 3rd, 2006 · by: Sven
In Part 1 of this series you’ve seen how easy it is to get up and running with Globalize. And you’ve seen what the most basic concepts of this multilanguage plugin for Ruby on Rails are, namely:
.tfor ViewTranslations (arbitrary, static text)- the
translatesdirective for ModelTranslations and .locto localize your date, time and number formats.
In this article we’ll talk about some common questions on getting started like:
- How to setup your application to use Unicode
- How to select and keep the current user’s locale
- How to translate entire templates (instead of individual strings)
- How to translate Rails ActiveRecord messages
(Update 06/12/06.: mention ActiveRecord::Multibyte and explain MySQL/Unicode character-set)
Read the rest of this entry