mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
implement path prefx for i18n middleware, as requested at: #1369
Former-commit-id: b0d6b6e7f368e710b01faad9b70dfa4cebdd8c4d
This commit is contained in:
@@ -68,9 +68,11 @@ type ConfigurationReadOnly interface {
|
||||
GetPostMaxMemory() int64
|
||||
|
||||
// GetTranslateLanguageContextKey returns the configuration's TranslateFunctionContextKey value,
|
||||
// used for i18n.
|
||||
// used for i18n inside templates.
|
||||
GetTranslateFunctionContextKey() string
|
||||
|
||||
// GetTranslateLangFunctionContextKey returns the configuration's TranslateLangFunctionContextKey value,
|
||||
// used for i18n inside templates.
|
||||
GetTranslateLangFunctionContextKey() string
|
||||
// GetTranslateLanguageContextKey returns the configuration's TranslateLanguageContextKey value,
|
||||
// used for i18n.
|
||||
GetTranslateLanguageContextKey() string
|
||||
|
||||
Reference in New Issue
Block a user