diff options
Diffstat (limited to 'pkg/i18n/i18n.go')
-rw-r--r-- | pkg/i18n/i18n.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/i18n/i18n.go b/pkg/i18n/i18n.go index 1628df707..77092dbe4 100644 --- a/pkg/i18n/i18n.go +++ b/pkg/i18n/i18n.go @@ -87,7 +87,7 @@ func detectLanguage(langDetector func() (string, error)) string { // setupLocalizer creates a new localizer using given userLang func setupLocalizer(log *logrus.Entry, userLang string) *Localizer { // create a i18n bundle that can be used to add translations and other things - i18nBundle := &i18n.Bundle{DefaultLanguage: language.English} + i18nBundle := i18n.NewBundle(language.English) addBundles(log, i18nBundle) |