Replies: 1 comment 3 replies
-
I haven't done it myself, but I believe other people have used Laravel's translations feature for this. You'd need to move the existing strings in the emails to a translation file, then update your email view / notification class to use the translation string. Then, when Simple Commerce sends emails, it'll attempt to use the translations relevant for the order's site. I know that's a very brief overview of how I'd handle it, but hopefully these links are a bit more useful: • https://laravel.com/docs/master/localization#defining-translation-strings |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am trying to have the transactional emails translated to another locale than English but I can't make it work.
I am using the Simple Commerce builtin templates and simply added all the locale strings to
lang/fr.json
. My app locale is also set tofr
.Is there something I might be missing?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions