aboutsummaryrefslogtreecommitdiffstats
path: root/config/initializers/fast_gettext.rb
blob: 9049fd8edee7e26198fd177446f68ad71eacfeba (plain)
1
2
3
Encoding.default_external = 'UTF-8' if RUBY_VERSION.to_f >= 1.9
FastGettext.add_text_domain 'app', :path => File.join(Rails.root, 'locale'), :type => :po
FastGettext.default_text_domain = 'app'