Firebase has recently announced support for the i18n rewrites feature. It allows you to serve different content depending on a user's country or preferred language.
But since the different versions of the content are served under the same URL, a search engine crawler will only be able to find one version of localized content.
Without i18n rewrites, I would need to create a root page that redirects to localized ones depending on the user's language preference or location (myapp.com redirects either to myapp.com/en/ or myapp.com/fr/). With that approach, crawlers could easily find and index all localized versions of my website.
But how can I achieve that discoverability with i18n rewrites?