gitlab-org--gitlab-foss/config/initializers_before_autoloader/001_fast_gettext.rb

8 lines
298 B
Ruby

# frozen_string_literal: true
FastGettext.add_text_domain 'gitlab',
path: File.join(Rails.root, 'locale'),
type: :po,
ignore_fuzzy: true
FastGettext.default_text_domain = 'gitlab'
FastGettext.default_locale = :en