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
Recently we introduced an easy way to add translations for the @novu/notification-center component interface. So you can either specify a translation object or pass a premade translation. Read more about it on the docs.
How
Add a new translation file here: packages/notification-center/src/i18n/languages.
Add your translation import to the TRANSLATIONS object at packages/notification-center/src/i18n/lang.ts
Add the language code to I18NLanguage type at lang.ts file.
Submit a PR :)
The text was updated successfully, but these errors were encountered:
Why
Recently we introduced an easy way to add translations for the
@novu/notification-center
component interface. So you can either specify a translation object or pass a premade translation. Read more about it on the docs.How
packages/notification-center/src/i18n/languages
.TRANSLATIONS
object atpackages/notification-center/src/i18n/lang.ts
I18NLanguage
type atlang.ts
file.The text was updated successfully, but these errors were encountered: