We'll have two domains resolving to our service:
- covid-benefits.alpha.canada.ca
- covid-prestations.alpha.canada.ca
At minimum, users coming in on the French domain should default to french.
Additionally, we should probably also handle switching the subdomain when switching languages.
For discussion: what to do when the subdomain and url path don't match? ie, what to do if someone arrives at the url: https://covid-benefits.alpha.canada.ca/fr/debut
?
- Do we redirect to
https://covid-benefits.alpha.canada.ca/en/start
?
- Do we redirect to
https://covid-prestations.alpha.canada.ca/fr/debut
?
- Do we just render based on the uri? (so the domain only matters when entering, but after that just the URI matters)
Also: should we (can we?) remove the /en
and /fr
prefixes from uri's?