The ability to compose components within other components (i.e. have Formatted* items within another Formatted* item) is a powerful feature of React Intl.
Internationalization in React
Preethi Kasireddy

In the example above, how does it translate from, say, ‘notifications’ to ‘notificaciones’ (if to translate to Spanish)? Would you have to include different {notifications} cases to make it work in the different languages, into the definition of ‘SubHeader.unreadCount’??

Show your support

Clapping shows how much you appreciated Quique Borredá Sánchez’s story.