Module: Polish
- Extended by:
- Polish
- Includes:
- Proxies
- Included in:
- Polish
- Defined in:
- lib/polish.rb,
lib/polish/proxies.rb,
lib/polish/version.rb
Defined Under Namespace
Modules: Proxies
Constant Summary collapse
- LOCALE =
Polish locale
:'pl'
- VERSION =
"0.1.6"
Instance Method Summary collapse
-
#init_i18n ⇒ Object
Init Polish i18n: set custom backend, load all translations shipped with library.
-
#locale ⇒ Object
Polish locale.
Methods included from Proxies
#localize, #pluralize, #strftime, #translate
Instance Method Details
#init_i18n ⇒ Object
Init Polish i18n: set custom backend, load all translations shipped with library.
31 32 33 34 |
# File 'lib/polish.rb', line 31 def init_i18n I18n.backend.class.send(:include, I18n::Backend::Pluralization) I18n.load_path.unshift(*locale_files) end |