We just dropped two super useful articles:

- Addresses look wildly different around the world (order, details, even postal codes). This one explains the chaos and how to build forms/apps that don't frustrate international users.

- Easy guide to JavaScript's built-in Intl API, with real examples for formatting dates, numbers, currencies, etc., the right way for any language/region.

🔗 Addresses: https://www.w3.org/International/questions/qa-address-formats
🔗 Intl guide: https://www.w3.org/International/articles/intl/index

@webi18n

Thank you !!! (!)

JS Intl is probably the most underestimated thing in the web :)

Try to ask devs. where in the browser you find the name in all the languages of all ISO stuff like countries, regions, languages currency.
Try to ask where all the timezones of the world are or how you give people internationalized lists, number expressions or relative time …

This is all https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl and in #ActivityPub we just need to federate e.g. id: "DE" for Germany.
It is crazy nice for https://martinfowler.com/bliki/Datensparsamkeit.html as well - our preview of the countries tsv incl. all stats like Pressfreedom Index is around 50kb …
Die AI, die.

#i18n #intl

Intl - JavaScript | MDN

The Intl namespace object contains several constructors as well as functionality common to the internationalization constructors and other language sensitive functions. Collectively, they comprise the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, date and time formatting, and more.

MDN Web Docs