localized_templates.rb

Path: lib/features/localized_templates.rb
Last Update: Sat Sep 29 17:22:34 +0200 2007

Localized templates

This feature extends Rails template handling and allows the use of localized templates like index.de.rhtml. The plugin will then pick the template matching the currently used language (Language#current_language).

The code for this feature is taken from the Globalize plugin for Rails (www.globalize-rails.org/) and is slighly modified to avoid naming conflicts. The Globalize team deserves all credit for this great solution. If you find this feature helpful thank them.

Used sections of the language file

This feature does not use sections from the lanuage file.

[Validate]