N
Novu6mo ago
jvinga

I have an issue where the translation file is not applied to the template while other ones work fine

I hitting rock a translation file, it is just not displaying the translations only the key names, I am clueless on the reason why, the only thing that came up to my mind is that the new translation file is in the second page of translations files list...
15 Replies
Ask Inkeep
Ask Inkeep6mo ago
Hi @jvinga, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Translations * Content Management * Vue E-mail * What is Novu? ----------------------------- Answer To troubleshoot and resolve issues with translation files not being applied to templates in Novu, consider the following steps: 1. Check if the Translation Group and Keys are Correct: Ensure that the translation group name and keys used in your template match exactly with those in your translation files. The correct usage syntax is {{i18n "translationGroupName.translationKey"}} (1) . 2. Verify the Translation Files: Make sure that your translation files are correctly formatted and uploaded. You might want to re-upload the files and ensure that they are correctly associated with the intended languages . 3. Translation Management UI: The translation management interface allows you to preview translations. Make sure the translations are previewed correctly in this interface. This confirms that your translations are recognized by the system (2) . 4. Pagination Issue: If your new translation file is on the second page of the translation files list, ensure that it is properly indexed and accessible. Navigate through the translation management UI to verify that all files are accessible and correctly listed. Here's a summarized list of checks: - Ensure correct syntax in templates using {{i18n "translationGroupName.translationKey"}} (1) . - Confirm that uploaded translation files are correctly formatted and are for the right target languages . - Use the preview feature in the translation management UI to verify translations are correctly recognized (2) . - Che
Ask Inkeep
Ask Inkeep6mo ago
ck all pages in the translation files list to ensure your new file is correctly indexed and accessible . If the problem persists even after these checks, consider re-uploading the translation files or creating a new translation group to see if that resolves the issue.
Ask Inkeep
Ask Inkeep6mo ago
Got it. Tagging @Support for additional help.
jvinga
jvingaOP6mo ago
any update?
Ask Inkeep
Ask Inkeep6mo ago
Got it. Tagging @Support for additional help.
Pawan Jain
Pawan Jain6mo ago
Hi @jvinga Sorry for delayed response. Mind sharing some screenshot or screen recording of the issue? Please share your environmentId as well it will help us in debugging the issue
jvinga
jvingaOP4mo ago
Still not working
No description
No description
jvinga
jvingaOP4mo ago
env id: 64b703eb90b5785d47345780 In the meantime we went for hardcoding values instead of using translations but coming back to update them, the issue still persist
Pawan Jain
Pawan Jain4mo ago
@jvinga Correct syntax is
{{i18n "order-created-teams.summary"}}
{{i18n "order-created-teams.summary"}}
jvinga
jvingaOP4mo ago
I know it doesnt work...we have templates with translations working but these one doesnt pick up
jvinga
jvingaOP4mo ago
No description
No description
jvinga
jvingaOP4mo ago
any clue?
Novu_Bot
Novu_Bot4mo ago
@jvinga, you just advanced to level 3!
Pawan Jain
Pawan Jain4mo ago
@jvinga Sending you a message
jvinga
jvingaOP2mo ago
Are we the only one with that issue?
Want results from more Discord servers?
Add your server