N
Novujvinga

I18n and translation files

I was wondering what would you suggest as per translations variables, having multiples files or one big that you update? One reason being, when you're in the template, on the UI, there is no (apparent) ways to define which one you're using. we were about to use somehow same keys in different translation files so maybe the right approach would be to have like a big i18n files with different objects for each email? Looking for how you guys want us to use those translations! Thanks!
No description
N
Novu_Bot44d ago
@jvinga, you just advanced to level 2!
PJ
Pawan Jain43d ago
@Gali Baum
GB
Gali Baum40d ago
One reason being, when you're in the template, on the UI, there is no (apparent) ways to define which one you're using.
@jvinga what do you mean by that? In the ui you would use translationGroupName.translationKey for example {{i18n sign-up.welcome}}
we were about to use somehow same keys in different translation files so maybe the right approach would be to have like a big i18n files with different objects for each email?
Could you give an example? I'm not sure I follow 😬
J
jvinga38d ago
Oh I was not passing the translationGroupName, it makes sense I'll try it with the group names. Thanks!
Want results from more Discord servers?
Add your server
More Posts
Subscribers with same idsFor some reason we have several subscribers that have exactly same `subscriberId` in our environmentActivity feed between two tabsIf you open the first tab as activity feed for development and after that open a second tab with actProduction activity appear in developmentFor some reason several of the events that were triggered in our production environment seems to appHandlebars in email templateWhen I try to use if {{#if aircraft}}Aircraft: {{aircraft}}{{/if}} in email template, there is errorSetting MS Teams Webhook for a subcriber using .net sdkHi, I was wondering if there is a way to set a MS Teams Webhook for a given subscriber using novu .nRequest Entity Too LargeAre there limitations on uploading variants in Novu? I'm developing an email workflow with 21 varianGreater Than and Less Than HelperHi there 🙂 I'd like to include a certain text string if the step.count is greater than a specifieNovu returning "processed" and acknowledged but no activity found and workflows not triggeredHey guys, I'm trying to diagnose an issue we're seeing when moving over to production. In developmeCustom link per broadcast emailHello, I am using https://docs.novu.co/api-reference/events/broadcast-event-to-all API. I want to geMongoDB is using 17.1Gb of memory with only Novu databaseHi all, can I delete data from collection where expireAt date has passed? I need to release some memAny in-depth architecture documentation of NovuI would like to understand more about Novu architecture/component. Where can I get more information How to use onesignal push notification for novu ?I want to use One Signal for push notification. I entered the necessary information, but I get this