Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions content/docs/platform/inbox/localization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Localize the UI text of the Inbox component to align with your product’s voice

Override the default text in the Inbox component UI by passing a `localization` prop. This prop accepts an object of key-value pairs, where each key maps to a specific UI element and each value is your custom string.

If you omit any keys, the component will fall back to the default `en-US` values.
If you omit any keys, then the component reverts to the default `en-US` values.

![Overriding the default text in the Inbox component UI using localization prop](/images/inbox/localization.png)

Expand Down Expand Up @@ -68,7 +68,7 @@ Here is a list of [all the keys available for localization](https://github.com/n
| `notifications.newNotifications` | ``({ notificationCount }: { notificationCount: number }) => `${notificationCount} new notification(s)` `` | A function that returns the string for the new notifications indicator. |
| `notification.snoozedUntil` | `Snoozed until` | Text displayed before the unsnooze time on a snoozed notification. |

### Notification actions (Tooltips)
### Notification actions (tooltips)

| Key | Default Value | Description |
| ---------------------------------------- | ---------------- | ---------------------------------------- |
Expand Down Expand Up @@ -109,7 +109,6 @@ Here is a list of [all the keys available for localization](https://github.com/n

To view the latest and most complete key list, check the defaultLocalization.ts file.


## Localizing workflow names in preferences

To display localized names for specific workflows in the Preferences UI, use the dynamic object within the localization prop.
Expand Down Expand Up @@ -138,4 +137,4 @@ function NovuInbox() {
}
export default NovuInbox;

```
```
Loading