编码问题

chenlw_dev v20160408_02
huang 9 years ago
parent b5ced6eda9
commit 9fa50e0452

@ -1,3 +1,4 @@
# encoding: utf-8
# Redmine - project management software
# Copyright (C) 2006-2013 Jean-Philippe Lang
#

@ -48,10 +48,10 @@ module RedmineApp
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
config.i18n.default_locale = :zh
# config.i18n.default_locale = :zh
# config.i18n.enforce_available_locales = false
# I18n.config.enforce_available_locales = false
config.i18n.enforce_available_locales = false
I18n.config.enforce_available_locales = false
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"

Loading…
Cancel
Save