Add multi language support for authentication middleware

This commit is contained in:
Achim Rohn
2025-09-17 18:05:23 +02:00
parent 667345bc9e
commit f70a4ad777
10 changed files with 182 additions and 10 deletions
+4
View File
@@ -11,6 +11,10 @@ func (t Language) GetPath() string {
return "/" + string(t)
}
func (t Language) ToString() string {
return string(t)
}
type GlobalI18nTexts interface {
Add(text I18nText) GlobalI18nTexts
GetAllTexts() []I18nText