AI OnAI Off
Google recommends using different URLs for each language version of a page rather than using cookies or browser settings to adjust the content language on the page.
Source: https://developers.google.com/search/docs/advanced/crawling/managing-multi-regional-sites
So it's probably not a good idea to use that on public websites.
If you're building a closed area of the website which is restricted to employees/site members/whoever and which is essentially a web app with some editorial content, then you can use standard aspnet mvc controllers, attribute routing and fetch the content from CMS based on cookies/browser settings/user profiles/whatever...
I would like to manage Episerver languages some other way than the url. Meaning I have a site with multiple languages. I want a page to exist in mutiple languages but with the exact same url. The current language would be managed some other way - presumably cookie. I do not seem to be able to get the site to resolve the currentPage this way.
Example:
Page "my-page" exists in English and French. I want the url to always be my-page, no matter what. when resolving the url, I look at the parent of my-page, and see what the language is set to (Its set with drop down by an author). If its English, serve the English content, if its French, serve the French content.