• Resolved ahmed2309

    (@ahmed2309)


    i am building a new website and i am using weglot plugin .. now i want the web site default language to be arabic instead of english .. meaning that i want each page to load in arabic regardless of the visitor’s browser language .. how can i do this ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi @ahmed2309,
    hope you’re fine ?
    To be sure I understand, you’re website is in english by default and you’ve translate it to arabic using Weglot. You want all user to be redirect to the arabic version ? To do it you can force a redirection to the arabic language. But if you do that, user can’t check the english version of your website.

    You can inspire our auto_redirect method in src/services/class-redirect-service-weglot.php

    the Idea is to rebuild the url for arabic language and redirect to it

    Regards

    Plugin Contributor Edson Galina Fortes

    (@glx77)

    hi @ahmed2309 ,

    you’re fine ? Do you still facing your issue or it’s ok for you ? Don’t hesitate if you need more help ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change website default language’ is closed to new replies.