blinkk / rootjs

Root.js – A full-featured web development tool with a built-in CMS.
https://rootjs.dev
MIT License
5 stars 0 forks source link

Better support for ALL_<countryCode> locales #376

Closed stevenle closed 3 weeks ago

stevenle commented 1 month ago

Description

In some cases, developers may want to target content to ALL_<countryCode> to target all users from a particular country. Example from firebase hosting:

https://firebase.google.com/docs/hosting/i18n-rewrites#set-up-i18n-rewrites

The routing layer and fallback mechanism should be aware of these ALL_xx locales and also support the ?gl= param to override.