debian-mirror-gitlab/config/initializers/fast_gettext.rb
2017-09-10 17:25:29 +05:30

6 lines
291 B
Ruby

FastGettext.add_text_domain 'gitlab', path: File.join(Rails.root, 'locale'), type: :po
FastGettext.default_text_domain = 'gitlab'
FastGettext.default_available_locales = Gitlab::I18n.available_locales
FastGettext.default_locale = :en
I18n.available_locales = Gitlab::I18n.available_locales