Well say I have a website example.com
- it allows people (writers) to post their own content which they can link to later for readers: example.com/my-blog-title
would be such a link.
Now in the process of internationalization the interface is adapted to the users (readers + writers) preferred language. This setting can be chosen done -when a reader is logged in- at their profile page (thus not having the limit to one device upon loggin in at another device the settings is correct).
Further if a language is chosen the url is changed to reflect that. This is done for SEO purposes: example.com/en-us
.
Thus if a writer has his language set to french the url to his content would be example.com/fr-fr/my-blog-title
. And if he changes his interface to english the content would still be there, also under example.com/en-us/my-blog-title
. (I now realize blog
seems to imply text, but it's important to remember that the content is always visible in any language - it's the interface that changes).
However this creates a weird situation, where (say) a reader has set his language to English. yet a reader is directly linking his post example.com/fr-fr/my-blog-title
, what should then happen?
- Redirect url to
example.com/en-en/my-blog-title
- but this might be confusing to readers that the urls don't match? - Ignore the language from the URL and use user's prefered language instead - but then the same url links to different languages, and what happens on links inside that page?
- Ignore the user's prefered language and use the exact url. - But then the website might confuse readers as they can no longer find their familiar buttons when they don't understand the language.
What is the generally accepted solution for this?