Created
December 26, 2011 17:50
-
-
Save karellm/1521706 to your computer and use it in GitHub Desktop.
Fast Gettext initializer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/initializers/fast_gettext.rb | |
FastGettext.add_text_domain 'app', :path => 'locale' | |
FastGettext.default_available_locales = ['en', 'fr'] | |
FastGettext.default_text_domain = 'app' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment