I'm implementing the routing and i18n part of my framework. I'm wondering if I should assume that
^[a-z]{2}
Will be a locale, and if so use it. Or should I make the user populate a list with languages? Eg:
supported = [ 'en', 'es', 'it', 'ru', ]
So the developer has to manually define languages. And for the record, 90% of the sites here only use en
only.