Replies: 1 comment 5 replies
-
@AIC-BV what happens when you include the current locale in
My guess is that when |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am trying to translate my Mail Templates, which is working by adding the following code in my boot() function:
Just one small issue, even though the mail is translatable in the backend at
settings -> mail templates
, the mail always sends in the default language and doesn't listen to the activeLocale (I'm using Winter.Translate).Any ideas how to solve this problem so that the mail sends in the correct language?
I am sending the mail with a queue:
Edit:
The suggested solution from daftspunk, which was already implemented in WinterCMS, does not seem to solve my issue: wintercms/storm#50
Edit 2:
Maybe related to this issue;
I have this field in 'fields.yaml' for my theme:
When printing my theme variable:
{{ this.theme.street }}
; it's always in the default language and my translated value is ignored. I'm absolutely sure this used to work a few days ago. Maybe I broke something? I didn't touch any plugins and commenting my plugin code doesn't affect this issue, and the translations are visible in the database inwinter_translate_attributes
Beta Was this translation helpful? Give feedback.
All reactions