My organization has an SEO Auditor telling us that we need to create subdirectories for languages that we support on our website. That requirement is fine.
Our organization's site is comprised of a number of applications exposed at the gTLD of example.com via reverse-proxy, so we end up with example.com/app1 and example.com/app2. This works great today. We make languages available as appropriate in the format of example.com/app1/en-us or example.com/app2/fr-ca (some applications don't need i18n due to actual audience).
The requirement that I am struggling to figure out how best to implement is the auditor has told our marketing team that we must change the path structure to reverse the language and application, resulting in a URL similar to example.com/en-us/app1 and example.com/fr-ca/app2, and I can't wrap my head around how I'll accomplish that without some crazy rewriting or just defining a location match for every application and language combination (that's a question for another post, maybe).
My questions are: does it matter where in the path the language is or just that it exists, and are you aware of any documentation supporting your answer (pointing the auditor to evidence is nice)? All the examples out there show it being first in the path, but there's nothing I can find that says it MUST be first in the path.
P.S. I should note that the top recommended similar question was this one, but that declares it as a common convention (for good reasons), not requirement. I posit that I have good reason NOT to follow the common convention.