mirror of
https://github.com/kataras/iris.git
synced 2026-01-07 20:17:05 +00:00
implement path prefx for i18n middleware, as requested at: #1369
Former-commit-id: b0d6b6e7f368e710b01faad9b70dfa4cebdd8c4d
This commit is contained in:
@@ -1 +1,9 @@
|
||||
{{call .tr "hi" "iris"}}
|
||||
<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>call .trLang "zh-CN" "hi" "iris"</code></h3>
|
||||
|
||||
{{call .trLang "zh-CN" "hi" "iris"}}
|
||||
|
||||
Reference in New Issue
Block a user