debian-mirror-gitlab/config/initializers/9_fast_gettext.rb

10 lines
395 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
FastGettext.add_text_domain 'gitlab',
path: File.join(Rails.root, 'locale'),
type: :po,
ignore_fuzzy: true
2017-08-17 22:00:37 +05:30
FastGettext.default_text_domain = 'gitlab'
FastGettext.default_available_locales = Gitlab::I18n.available_locales
2017-09-10 17:25:29 +05:30
FastGettext.default_locale = :en
2017-08-17 22:00:37 +05:30
I18n.available_locales = Gitlab::I18n.available_locales