XF 1.1 Send site link w/a preset language

Robert F Schmitz

Well-known member
How can I send a link to someone to view the forum in a preset language? The primary language is English but I want to send a link for someone to see it in French. Thank you.

Jake Bunce

XenForo moderator
Staff member
This might be useful:


You can manually build links to your different languages in the templates. You can't so easily build links outside of XF though because the links must contain the csrf token which is generated by XF. If the link contains only the language_id and no token then the user will be taken to a confirmation page asking them to confirm the language switch.