BigW Consortium Gitlab

fast_gettext.rb 291 Bytes
Newer Older
1
FastGettext.add_text_domain 'gitlab', path: File.join(Rails.root, 'locale'), type: :po
2
FastGettext.default_text_domain = 'gitlab'
3
FastGettext.default_available_locales = Gitlab::I18n.available_locales
4
FastGettext.default_locale = :en
5 6

I18n.available_locales = Gitlab::I18n.available_locales