class Sidekiq::Middleware::I18n::Client
to be sent to Sidekiq.
Get the current locale and store it in the message
def call(_jobclass, job, _queue, _redis)
def call(_jobclass, job, _queue, _redis) job["locale"] ||= I18n.locale yield end
to be sent to Sidekiq.
Get the current locale and store it in the message
def call(_jobclass, job, _queue, _redis) job["locale"] ||= I18n.locale yield end