set langs to config and modify gulp build to support langs

This commit is contained in:
lealife
2016-03-19 14:30:07 +08:00
parent 2aa3f5a654
commit 67b608b324
3 changed files with 23 additions and 15 deletions

View File

@ -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

View File

@ -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