Support the ongoing development of Laravel.io →
Mail Queues Architecture
Last updated 1 year ago.
0

Problem was solved by overwriting Mailer queue() method and using custom queued mail handle class, where language is set from passed to $data array.

Last updated 1 year ago.
0

I have the same problem, can you explain your custom handle class? Thanks in advance

Last updated 1 year ago.
0

jgarciac said:

I have the same problem, can you explain your custom handle class? Thanks in advance

Sorry for long reply - didn't notice your question...

Here is it: https://gist.github.com/smgladkovskiy/a3d98b7c58300200a53d

I passed language name in data array. i18n library is https://github.com/mcamara/laravel-localization

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.