[Locale] Figure out how to handle multi-region URLs #29
Labels
✨ Feature
New addition to the codebase (feature, utility, component, etc.)
🧑💻 Help wanted
Extra attention is needed
We are going to have some cases where our capturing logic breaks because of how the URL changes for different regions.
Take
YouTube Brazil
for example:https://youtube.com.br/xyz
is apparently the URL structure. Our currentyoutube
capturing will simply break... becausecom
will be thedomain
value.We will need a way to specify how to target
locale
per network, since every network may implement this differently.Furthermore, we will need a way to generate the
preferredUrl
based onlocale
.We need to start by making a list of all of these differing multi-region URLs.
The text was updated successfully, but these errors were encountered: