06-06-2020 12:42 PM
06-06-2020 12:42 PM
We have a SharePoint hub site which requires translation of its navigation links display names and address fields - default is English and users with Spanish language settings should see Spanish navigation titles and address field links.
I followed the instructions from here - https://support.office.com/en-us/article/create-multilingual-communication-sites-pages-and-news-2bb7... - specifically:
"After the site is set up in English, a user with Spanish as their preferred personal language manually edits and translates the title, description, navigation and footer content into Spanish".
This has worked correctly for the navigation link and label display name fields. A user with Spanish language settings see's the Spanish display name and non-Spanish users see the Default (English).
I have found that this does not work the same if the Address field for a link is changed. For example, we have Spanish versions of pages we would like the navigation to link to for Spanish users. I find when I amend the Address field with Spanish language settings, it also changes the Address field URL for the Default language navigation. Is this expected behaviour? I cannot see anything regarding this either way in the documentation linked above.
06-07-2020 04:52 AM
06-07-2020 11:28 AMSolution
@steve85 Navigation node text is MUI-enabled, but the URLs are not. That is the case whether the hub site navigation is modern or classic and has MLP enabled or not. For certain types of target pages, there is redirection according to the user's language, if the target is on an MLP-enabled Communication site or a variations site collection. This redirection does not apply in all cases, but in most common scenarios.
If you want it to work for other types of target pages, you can do it with a third-party product.
06-07-2020 12:30 PM
06-07-2020 02:04 PM
Thanks for your response @Martin Laplante. In my scenario, we have not used the translation feature to translate the pages to Spanish. They exist with their own URLs with reference to the page in Spanish. The hope was the Address field was unique for each language once MUI was enabled and therefore I could add the English page URL for default and the Spanish URL when using Spanish language settings. I guess not. Would the 3rd party tool you mention enable this?
06-07-2020 02:20 PM
Thanks for your response, @Susan Hanley. In my scenario, we have not used the translation feature to translate the pages to Spanish. They exist with their own URLs with reference to the page in Spanish. The reason for this is originally a custom navigation was being used but now we have pivoted to the OOTB hub navigation and hoped to keep the Spanish URLs if possible just for consistency of user experience (I realise the irony of having just mentioned we've changed an entire nav menu experience). I assume if I was to use the translation feature instead, I would have to use the default language URL for the page for both default and Spanish language users?
06-07-2020 03:30 PM
06-07-2020 09:01 PM
@steve85 yes, but 3rd party product are outside the scope of this forum. You can message me.