set langs to config and modify gulp build to support langs
This commit is contained in:
@ -45,6 +45,8 @@ log.error.prefix = "ERROR "
|
||||
|
||||
# The default language of this application.
|
||||
i18n.default_language=en-us
|
||||
# All supported languages
|
||||
i18n.languages=en-us,zh-cn,zh-hk,pt-pt,fr-fr
|
||||
|
||||
module.static=github.com/revel/modules/static
|
||||
|
||||
|
@ -18,7 +18,8 @@ db.password= # if not exists, please leave it blank
|
||||
# or you can set the mongodb url for more complex needs the format is:
|
||||
# mongodb://myuser:mypass@localhost:40001,otherhost:40001/mydb
|
||||
# db.url=mongodb://root:root123@localhost:27017/leanote
|
||||
# db.urlEnv=${MONGODB_URL} # set url from env. eg. mongodb://root:root123@localhost:27017/leanote
|
||||
# db.urlEnv=${MONGODB_URL} # set url from env. eg.
|
||||
# mongodb://root:root123@localhost:27017/leanote
|
||||
|
||||
# You Must Change It !! About Security!!
|
||||
app.secret=V85ZzBeTnzpsHyjQX4zukbQ8qqtju9y2aDM55VWxAH9Qop19poekx3xkcDVvrD0y
|
||||
@ -45,6 +46,8 @@ log.error.prefix = "ERROR "
|
||||
|
||||
# The default language of this application.
|
||||
i18n.default_language=en-us
|
||||
# All supported languages
|
||||
i18n.languages=en-us,zh-cn,zh-hk,pt-pt,fr-fr
|
||||
|
||||
module.static=github.com/revel/modules/static
|
||||
|
||||
|
Reference in New Issue
Block a user