Provides three models (Multilingual::):
Languageeach represented by a unique ISO-639-1 two-letter code.Translationa polymorphic model that represents the name/translation of any other model in a particular language. Can optionally have a translation type if you want to track information about the translation itself.TranslationTyperepresents a quality of the associated translation. Given by a unique name and integer level. Examples are automatic, beginner, intermediate, expert, or similar.
How to use my plugin.
If you want to use translation types, your application should open the class
Multilingual::TranslationType and add the following association:
belongs_to :type, class_name: 'TranslationType'Add this line to your application's Gemfile:
gem 'multilingual'And then execute:
$ bundleOr install it yourself as:
$ gem install multilingualContribution directions go here.
The gem is available as open source under the terms of the MIT License.