module FastGettext
Constants
- LOCALE_REX
- NAMESPACE_SEPARATOR
- VERSION
Public Instance Methods
add_text_domain(name,options)
click to toggle source
# File lib/fast_gettext.rb, line 27 def add_text_domain(name,options) translation_repositories[name] = TranslationRepository.build(name,options) end
locale_path()
click to toggle source
some repositories know where to store their locales
# File lib/fast_gettext.rb, line 32 def locale_path translation_repositories[text_domain].instance_variable_get(:@options)[:path] end