You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Allow me to try out my emails in one or more languages. Right now, I can't use the react-email npm package with my next-international package. It really doesn't even make sense tbh because next-international looks at the /[locale]/ URL, which the react-email preview NextJS server doesn't support.
Background
This is needed because right now I cannot preview my emails at all...
As you can see from the image, I am calling await getI18n(); from the email template code, but this obviously won't work for this environment.
Proposal
Maybe if we could allow to configure providers, and also more Next.JS routing control so that it's possible to switch [locale] route prefix easily? I really don't know
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Goals
1.Allow me to try out my emails in one or more languages. Right now, I can't use the react-email npm package with my next-international package. It really doesn't even make sense tbh because next-international looks at the /[locale]/ URL, which the react-email preview NextJS server doesn't support.
Background
This is needed because right now I cannot preview my emails at all...
As you can see from the image, I am calling
await getI18n();
from the email template code, but this obviously won't work for this environment.Proposal
Maybe if we could allow to configure providers, and also more Next.JS routing control so that it's possible to switch
[locale]
route prefix easily? I really don't knowBeta Was this translation helpful? Give feedback.
All reactions