Globalize for Ruby on Rails

Ranked #6,399 in Computers & Electronics, #134,077 overall

Get started with Globalize for Ruby on Rails!

Globalize for Ruby on Rails is the currently most complete and most powerful internationalization and localization solution for Ruby on Rails.

Globalize for Ruby on Rails Homepage
Meet the Globalize Team, check out documentation and find the more resources! News, Overview for busy people, Screencast, Features: Overview, Comparsion to others, Getting started: Get Globalize!, Install, Get started, Documentation: FAQ, API docs, Howtos, Overviews, Recipes, ...

Get on Rails with Globalize (series)

Get on Rails with Globalize: a comprehensive writeup in 8 parts

This series has been tagged "the best documentation available for Globalize".

Part 1 of 8: Five minutes instant overview

Description: How to install and configure Globalize, How to translate arbitrary text (ViewTranslations), How to translate Rails models (ModelTranslations), How to add translations to the database, How to localize Dates, Times and Numbers

Part 2 of 8: Some common questions on getting started

Description: How to setup your application to use Unicode. How to select and persist the current user?s locale. How to translate Rails ActiveRecord messages. How to localize entire templates

Part 3 of 8: Globalize's advanced features

Description: Abstracting ViewTranslations (sprintf-like usage). Singular and (multiple) plural ViewTranslations. Globalize?s Currency class. Piggyback translated ActiveRecord associations

Part 4 of 8: How to set up your routes?

Description: Pros and cons of different ways to store the locale. Sessions, accept-language header, geo-location. RESTful, URL-based approaches

Part 5 of 8: Advanced techniques, tips and tricks

Description: A catch all list of useful techniques, tips and tricks. Stuff that you probably don't necessarily need in every project but that you should be ... expand

Part 6 of 8: Pimp your Globalize: Extensions, Plugins and Patches

Description: Stuff that makes Globalize an even mightier tool by adding useful functionality or connecting it to other important tools, such as:

+ Multilingual URLs
+ Get Globalize working with :include and no base language
+ Translate your application while browsing it
+ Localized, concise Rails URL helpers
+ Get Liquid templates to play nice with Globalize
+ Globalize time_ago_in_words method of Rails
+ Multiple arguments to fetch

Part 7 of 8: Gotchas and other funny things to know and avoid

+ I'm seeing lot's of strange characters!
+ Weird Currency parsing results
+ Globalize WrongLanguageError on attribute read
+ Globalizes screws my RJS (or: my IE6)!

Subscribe to the RSS Feed

Subscribe to my full articles RSS feed to stay informed about future updates and more ressources!

Here's the feed URL: http://feeds.feedburner.com/artweb-design

More Ressources

Concise, localized Rails URL helpers? Solved (twice).
Two solutions to the "concise, localized URL helpers" problem: the resource_fu plugin by Trevor Squires and the localized_url_helpers plugin by Sven Fuchs

The Internal Storage Mechanism For Globalize for Rails Model Translations
by Saimon Moore
Comprehensive intro and overview to Globalize's alternative model translations storage mechanism

Namespaced View Translations with Globalize
by Saimon Moore
Intro to namespacing viewtranslations with Globalize

Patch Globalize to get it working with :include and no base language
by Lourens Naudé

Bridge Globalize and TZInfo
by Lourens Naudé

Preload View Translations in Production
by Lourens Naudé

Canada on Rails slides
by Jeremy Voorhis

H2O Playlist: Get on Rails with Globalize!

by

svenfuchs

Hello world. This is my bio. I can edit it later!

Feeling creative? Create a Lens!