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
- Select the workflow you want to import translations for.
92
+
- Click on the locale, such as `en_US`, now click on the **Import Language(s)** button to upload the translation JSON file.
93
+
- Novu detects the locale automatically using the file name
94
+
95
+
💡 Translation changes in default locale such as `en_US` will mark other locales as *Outdated, needs update*
96
+
97
+
### Master JSON file
98
+
99
+
Master JSON file is a JSON file that contains the default locale' translations keys of all the workflows where translations are enabled. You can import or export this file from the translations page. Below is an example of a master JSON file:
100
+
101
+
```json
102
+
{
103
+
"workflows": {
104
+
"events-publish": {
105
+
"key": "value"
106
+
},
107
+
"events-update": {
108
+
"subject": "A new update",
109
+
"content": "{{payload.eventName}} event has been updated"
110
+
}
111
+
}
112
+
}
113
+
```
91
114
92
-
💡 Translation changes in default locale (e.g., en_US) will mark other locales as *Outdated, needs update*
115
+

93
116
94
117
## Using translation keys in step content editor
95
118
@@ -109,7 +132,7 @@ Example:
109
132
110
133
Use the Preview Context to:
111
134
112
-
- Simulate subscriber locale (e.g., fr_FR or ru_RU).
135
+
- Simulate subscriber locale such as `fr_FR` or `ru_RU`
113
136
- Preview step content for the selected language.
114
137
- Update or correct missing translations on the fly.
0 commit comments