Home > translatable

translatable

Translatable is a project mainly written in Ruby, based on the MIT license.

Simple Rails plugin to manage translatable attributes for an ActiveRecord model

Translatable

Simple RoR plugin to manage translatable attributes for a model.

This plugin requires Globalize3 gem

Example

Simply add acts_as_translatable in your model. When you save your instance, the plugin will create all translations for all available locales for translates attributes.

It manages the nested attributes for translations when you edit your instance.

Initializer

Default available_locales are :en, :fr and :de. You can override theeses with an initiliazers

Example : in /config/initializers/translatable.rb

Translatable.available_locales = [:fr,:de]

Todo

  • tests

Copyright (c) 2011 [mickael mithouard], released under the MIT license