debian-mirror-gitlab/config/initializers/9_fast_gettext.rb
2018-05-09 12:01:36 +05:30

9 lines
395 B
Ruby

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