Chnage website default language according to interactive language

This topic has 6 replies, 2 voices, and was last updated 2 years ago ago by Rose Tyler

  • Avatar: mohamed aly
    mohamed aly
    Participant
    December 13, 2022 at 11:04

    Hi
    our website has 2 languages English “default” , Arabic “secondary” pls need php code to change website default lang according to current active language i.e if customer use arabic language then default lang change to arabic and so on
    kindly need your support

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 13, 2022 at 11:23

    Hello,

    If you want to create a multilanguage site you need a special plugin for these purposes https://colorlib.com/wp/wordpress-multilingual-plugins/ Support of the plugin should guide you. The plugin will give a language switcher widget also.

    Regards

    Avatar: mohamed aly
    mohamed aly
    Participant
    December 13, 2022 at 14:27

    Hi
    thanks for your repla , we use WPML but we face problem with WCFM Email it end in website default language regardless user language so tried to contact WCFM support but they take very long time and mostly not replay
    Kindly need your support to send me php code to change website default language according to current interactive browsing lang or according to user language
    thanks in advance for your support

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 13, 2022 at 14:36

    Hello,

    In this case, you need to solve it together with WPML and WCFM plugins support. Have you tried to contact WPML?

    Regards

    Avatar: mohamed aly
    mohamed aly
    Participant
    December 13, 2022 at 14:42

    yes but not support for this issue , just need your php to do this task and i will try it
    thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 13, 2022 at 16:36

    Hello,

    This is independent of the theme, so we can’t assist you, unfortunately.
    WPML plugin support should be able to help you.
    Additional customization is outside the scope of our basic support, sorry.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘chnage website default language according to interactive language’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.