mirror of
https://github.com/kataras/iris.git
synced 2025-12-29 07:47:22 +00:00
fmt
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com> Former-commit-id: b30be0c10c507296cdf0a5a14bc8586af77ef604
This commit is contained in:
@@ -10,7 +10,10 @@ func newApp() *iris.Application {
|
||||
// Configure i18n.
|
||||
// First parameter: Glob filpath patern,
|
||||
// Second variadic parameter: Optional language tags, the first one is the default/fallback one.
|
||||
app.I18n.Load("./locales/*/*.ini", "en-US", "el-GR", "zh-CN")
|
||||
err := app.I18n.Load("./locales/*/*.ini", "en-US", "el-GR", "zh-CN")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
// app.I18n.LoadAssets for go-bindata.
|
||||
|
||||
// Default values:
|
||||
|
||||
Reference in New Issue
Block a user