Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages