Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fast_gettext.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eb589ecdb529f2d68f457378346e3f8786c371b4 (plain)
1
2
3
4
5
6
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