We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d72ff94 commit e8c26d4Copy full SHA for e8c26d4
examples/basic/main.go
@@ -20,7 +20,7 @@ func main() {
20
e := en.New()
21
universalTraslator = ut.New(e, e, en_CA.New(), nl.New(), fr.New())
22
23
- en := universalTraslator.GetTranslator("en")
+ en, _ := universalTraslator.GetTranslator("en")
24
25
// generally used after parsing an http 'Accept-Language' header
26
// and this will try to find a matching locale you support or
0 commit comments