• Resolved rnorbi

    (@rnorbi)


    Hi Support Team!

    We would need your help in the following case.
    We are using TranslatePress plugin on our WooCommerce based site, and we would like to have the following use case working:
    ?When user just logged in to the site, site must be displayed in the preferred language of the user. Note: Preferred language is provided by the user during the registration procedure and saved into the database!”
    Please assist us what could be the right solution in this case. Any help, url-, document link is appreciated.

    Thanks in advance, Norbert

Viewing 1 replies (of 1 total)
  • Dragos

    (@dragosvrejiu)

    Hello Norbert,

    Thank you for getting in touch with us!

    This is achieved using the automatic user language detection add on: https://translatepress.com/docs/addons/automatic-user-language-detection/

    However, the language is not chosen during the registration procedure but directly in the front-end, on the site.

    There aren’t any other links that I can send to you, unfortunately – as this is not supported by default in our plugin.

    Custom code will be required in order for this to work.

    You could save the preffered language into a cookie, during the registration process – then redirect the user when a URL is accessed, based on the language saved into the cookie. This is how we achieve the redirection.

    The same methodology can be used if you are saving the language into the database as well.

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Using preferred language with TranslatePress’ is closed to new replies.