let page model support i18n
This commit is contained in:
1 parent
bd9ef6d286
commit
db8d2bfa8f
4 files changed
+29
-5
No files matched your search
@@ -37,9 +37,10 @@ Rails::Initializer.run do |config|
|
||||
|
||||
# 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}')]
|
||||
# config.i18n.default_locale = :de
|
||||
config.i18n.default_locale = "zh_tw"
|
||||
|
||||
end
|
||||
|
||||
VALID_LOCALES = ["en", "zh_tw"]
|
||||
require 'couch_foo'
|
||||
CouchFoo::Base.set_database(:host => "http://localhost:5984", :database => "r4")
|
||||
Reference in new issue
Block a user