mmith / translatable

Simple Rails plugin to manage translatable attributes for an ActiveRecord model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


About

Simple Rails plugin to manage translatable attributes for an ActiveRecord model

License:MIT License


Languages

Language:Ruby 100.0%