How to determine if a site page is a translation after a redirect?

Copper Contributor

When a user hits a site page URL, but is immediately redirected to a translated page, the translated page's context is still of the original site page, not the translated page. If you try to use this context and list item ID to check if the page is a translation, you'll get a false because you're using the original page list item ID.


How would you determine if the page is a translation or not?


Instructions on how to recreate the issue are here:


Attached is a GIF that shows how a translated page shows the correct list item ID on a hard refresh, but the wrong list item ID is shown after redirection.

0 Replies