We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21ff804 + b1541ad commit c31fbd8Copy full SHA for c31fbd8
1 file changed
i18n/i18n.go
@@ -83,5 +83,9 @@ func langTag(l string) language.Tag {
83
84
// Sprintf formats according to a format specifier and returns the resulting string.
85
func Sprintf(lang, format string, a ...interface{}) string {
86
+ if _, exists := printers[lang]; !exists {
87
+ return fmt.Sprintf(format, a...)
88
+ }
89
+
90
return printers[lang].Sprintf(format, a...)
91
}
0 commit comments