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
1.8K32

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’??

Like what you read? Give Quique Borredá Sánchez a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.