1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Send site link w/a preset language

Discussion in 'XenForo Questions and Support' started by Robert F Schmitz, Feb 26, 2012.

  1. Robert F Schmitz

    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.
  2. Jake Bunce

    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.

Share This Page