Module: Mobility::Plugins::LocaleAccessors
- Extended by:
- Mobility::Plugin
- Defined in:
- lib/mobility/plugins/locale_accessors.rb
Overview
Defines methods for a set of locales to access translated attributes in those locales directly with a method call, using a suffix including the locale:
article.title_pt_br
If no locales are passed as an option to the initializer, Mobility.available_locales
(i.e. I18n.available_locales
, or Rails-set available locales for a Rails application) will be used by default.
Method Summary
Methods included from Mobility::Plugin
configure, configure_default, default, dependencies, dependencies_satisfied?, included, included_hook, initialize_hook, requires