1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-27 14:57:05 +00:00

i18n: add the ability to register template funcs per locale

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-10 06:22:53 +03:00
parent a1f7f57922
commit 59b8ddf5be
6 changed files with 59 additions and 27 deletions

View File

@@ -7,6 +7,10 @@ import (
"github.com/kataras/iris/v12"
)
/*
See i18n-template for a more advanced translation key-values.
*/
func newApp() *iris.Application {
app := iris.New()