What should your app return if it supports 20 languages ​​and a user sets their ...

@xfq@w3c.social

What should your app return if it supports 20 languages ​​and a user sets their system language to "French (Switzerland)", but you only support `fr-FR` / `fr`? Returning an English fallback might cause you to lose that user.

This issue is known as language tag matching. The i18n WG has just added a section on this topic to its best practices document. The underlying core specification is BCP 47, which defines two matching modes: Lookup and Filtering.