package language import ( "github.com/gofiber/fiber/v2" "git.dmitriygnatenko.ru/dima/dmitriygnatenko-v2/internal/services/i18n" ) func New() fiber.Handler { return func(c *fiber.Ctx) (err error) { c.Locals(i18n.CtxLanguageKey, i18n.Ru) // now only RU language return c.Next() } }