Nov 23 2021 03:01 AM - edited Nov 23 2021 03:02 AM
Hi
I am working on a migration project with a site in multiple languages. A French Site page contains Quick links. If you click on a quick link, it should navigate to another French page but instead it is going to a English version of the page. The French version of the page is available but SharePoint is not picking it up.
If I use the dropdown to navigate to another language and click on the quick link again, the language functionality resets and is working correctly, E.g Spanish page quick link navigates to another Spanish page. Therefore it is only the first time I access any language page that I am facing this problem.
I have tried to reset the default language of the User but this has not resolved the issue. The URL for these language site pages are being accessed from a excel list, does this potentially affect the functionality?
Nov 24 2021 12:49 AM - edited Nov 24 2021 12:51 AM
The trick is for the user to _never_ use that language dropdown. If the language dropdown is used, then the Multilingual Page Publishing features language redirection is temporarily disabled, or rather a session cookie named "siteLangPref" gets set which overrides the user's language content preference and makes it differ from the language preference in their profile until the browser session is re-started. Changing the profile will change the user's UI language preference, but the content preference is not the same thing.
Nov 24 2021 05:14 AM
Thanks for your quick response Martin. I think you're helping us to get to the bottom of this, but I'm not sure you understood what we're doing - sorry if I didn't explain it clearly.
Pages have been migrated into SP Online
The logged in user has a default language of English
If we do something slightly different it resolves itself
So we think it might be related to the cookie that you mention? Somehow it's not being set correctly. Please can you suggest how we could resolve this issue?
Nov 24 2021 11:03 AM
Jan 16 2022 04:46 AM