N
Novu•2mo ago
lena_dooms

Missing helper: "i18n"

Hi! I'm trying to introduce translations into some of our emails but am encountering some issues. I have a subscriber that I have verified has a different locale than our default language. The translations in my email are set up. When I trigger this email to the subscriber, either through our code or by triggering the workflow in the dashboard, I receive the email in the default language. When I try to test just the email through the dashboard instead of the entire workflow, I get the error message Missing helper: "i18n". Any idea what's going wrong here?
3 Replies
lena_dooms
lena_dooms•2mo ago
this is in development environment btw
Pawan Jain
Pawan Jain•2mo ago
Testing only email is understood. Did you update the subscriber locale and do you have translation file for that same locale? Checkout this doc to learn how to use this feature https://v0.x-docs.novu.co/content-creation-design/translations
lena_dooms
lena_dooms•2mo ago
yes, I have the locale of this subscriber set to 'en_US' (not our default) and have a translation file with all necessary translations for that language. I've double checked that the keys in the translation file match the keys in the email. Preview of the email in english is as expected too I'm not sure if it's relevant but I believe there have been some changes to workflows. The flow I'm working in has been created in november 2023 Tried it again today and it's working now @Pawan Jain . Didnt change anything myself 🤔
Want results from more Discord servers?
Add your server