1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
512ed6ffc0 add support for fs.FS, embed.FS (in addition of string and http.FileSystem) for i18n locales and view engine's templates 2022-09-25 20:40:56 +03:00
Gerasimos (Makis) Maropoulos
4cd0621018 add support for the go standard embed tag for locale files 2022-09-23 01:28:47 +03:00
Gerasimos (Makis) Maropoulos
ef2643b046 replace ioutil with io package and other minor improvements 2022-06-17 22:03:18 +03:00
Gerasimos (Makis) Maropoulos
4065819688 New: i18n pluralization and variables support and more...
fixes: #1649, #1648, #1641, #1650

relative to: #1597
2020-09-29 19:19:19 +03:00
Gerasimos (Makis) Maropoulos
3baee7db34 add Party.SetRoutesNoLog and mvc.Application.SetControllersNoLog as requested at #1630 2020-09-15 00:23:09 +03:00
Gerasimos (Makis) Maropoulos
0f7cf7f35c example: i18n: nested .ini template key-values 2020-09-14 22:00:20 +03:00
Gerasimos (Makis) Maropoulos
7431fcc9cf more tiny improvements 2020-09-13 14:28:05 +03:00
Gerasimos (Makis) Maropoulos
333be428c4 use jet v5.0.2 (no breaking changes)
relative to: https://github.com/kataras/iris/pull/1616
2020-09-10 10:12:06 +03:00
Gerasimos (Makis) Maropoulos
59b8ddf5be i18n: add the ability to register template funcs per locale 2020-09-10 06:22:53 +03:00
Gerasimos (Makis) Maropoulos
a1f7f57922 i18n: add 'tr' template function inside the translation files themselves 2020-09-10 05:57:49 +03:00
Gerasimos (Makis) Maropoulos
777ef0cd3e i18n: expose the LoaderConfig from the main i18n instance and add an example
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>
2020-09-10 05:17:03 +03:00
Gerasimos (Makis) Maropoulos
a491cdf7ef implement #1593 - Read HISTORY.md
updated example: https://github.com/kataras/iris/blob/master/_examples/i18n/main.go#L28-L50
2020-08-18 08:05:51 +03:00
Gerasimos (Makis) Maropoulos
177b05b674 see prev commit 2020-08-16 18:09:10 +03:00
Gerasimos (Makis) Maropoulos
227170fd33 see https://github.com/kataras/iris/issues/1591#issuecomment-674473247 2020-08-16 18:04:52 +03:00
Gerasimos (Makis) Maropoulos
b2c5ec03fd miscellaneous
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
2020-01-07 03:41:07 +02:00
Gerasimos (Makis) Maropoulos
04477c3e41 fixes, i18n, sitemap generator and new examples
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
2019-12-13 23:06:18 +02:00