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

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