When creating apps and websites, we often need to display data in different
languages. Be it currencies, speeds, times or dates. Sorting words in different
languages or dynamically setting the singular and plural forms of a word are
also such use cases. For this there is the Intl API in JavaScript, which in my
opinion still gets far too little attention.
In the past, I have written custom functions or used libraries to do the above
in different languages.
So let's take a look at some of the functions of the Intl API and try to
understand why it can make our lives easier.