Elektrine lite

← Feed

@webi18n@w3c.social

2026-02-03 08:25 UTC

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

Replies (3)

  • @webi18n@w3c.social @lunareclipse@snug.moe Months are 0-based? WTF? I see. They were in a hurry back in 1995 and it stuck. Burn it all. https://stackoverflow.com/questions/2552483/why-does-the-month-argument-range-from-0-to-11-in-javascripts-date-constructor

    Open ##2409657

  • @webi18n@w3c.social @ Most US and UK companies: please read this!

    Open ##2409658

  • @sl007@digitalcourage.social 2026-02-08 15:08

    @webi18n@w3c.social 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

    Open ##2409659