config/initializers/core_extensions.rb
# Few languages can "safely" downcase. For example, in German, it's quite awkward to downcase nouns. So:
Few languages can "safely" downcase. For example, in German, it's quite awkward to downcase nouns. So.
Few languages can " safely " downcase . For example in German it ' s quite awkward to downcase nouns . So .
def i18n_downcase
    @@safe_downcasing_locales = [:en, :es, :mk, :sr, :fr]
    return self unless defined?(I18n) && I18n.locale && @@safe_downcasing_locales.include?(I18n.locale.to_sym)
    return self.downcase
  end
def i18n_downcase @@safe_downcasing_locales = [ :en , :es , :mk , :sr , :fr ] return self unless defined? ( I18n ) && I18n . locale && @@safe_downcasing_locales . include? ( I18n . locale . to_sym ) return self . downcase end
Few languages can "safely" downcase.
Few languages can " safely " downcase .