Skip to content

Commit

Permalink
Update i18n.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyenought authored Jan 1, 2024
1 parent 9ffb192 commit a014fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func Localize(opts ...Option) app.HandlerFunc {
instance := newI18nInstance(opts...)
return func(c context.Context, ctx *app.RequestContext) {
localizer := instance.getLocalizerByLang(
instance.getLangHandler(nil, ctx, instance.defaultLang.String()),
instance.getLangHandler(c, ctx, instance.defaultLang.String()),
)
store := &ctxStore{
Instance: instance,
Expand Down

0 comments on commit a014fcb

Please sign in to comment.