In-App UI
React
Types
I18nContent
I18nContent
Configuration object for internationalization content used to set translations available in child components exposed under KnockFeedProvider
, KnockSlackProvider
, and KnockMsTeamsProvider
.
Properties#
translationsPartial<Translations>
A partial object containing translation overrides for the default English strings.localestring
A valid locale code (e.g., 'en', 'es', 'fr').Translations Interface#
The Translations
interface includes the following properties:
emptyFeedTitlestring
Title shown when the feed is empty.emptyFeedBodystring
Body text shown when the feed is empty.notificationsstring
Label for notifications.poweredBystring
Powered by text.markAllAsReadstring
Mark all as read button text.archiveNotificationstring
Archive notification button text.allstring
All filter option text.unreadstring
Unread filter option text.readstring
Read filter option text.unseenstring
Unseen filter option text.