mirror of
https://github.com/kataras/iris.git
synced 2025-12-28 07:17:06 +00:00
fixes, i18n, sitemap generator and new examples
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
This commit is contained in:
9
_examples/i18n/views/index.html
Normal file
9
_examples/i18n/views/index.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<h3>Test translate current locale template function <i>[dynamic]</i> ("word", arguments...) <br/> <code>call .tr "hi" "iris"</code></h3>
|
||||
|
||||
{{call .tr "hi" "iris"}}
|
||||
|
||||
<hr/>
|
||||
|
||||
<h3>Test translate of any language template function <i>[static]</i> ("language", "word", arguments...) <br/> <code>tr "zh-CN" "hi" "iris"</code></h3>
|
||||
|
||||
{{tr "zh-CN" "hi" "iris"}}
|
||||
Reference in New Issue
Block a user