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

WordPress fix Reply To: Login form in browser language

Discussion in 'Misc WordPress Requests' started by anurag.deshmukh, Mar 8, 2018.

  1. anurag.deshmukh


    Reply To: Login form in browser language, by anurag.deshmukh

    Which plugin you are using for making site multilingual ? I assume you just need to change labels/placeholders of login form as per the detected browser language. Plugin should have option to change/add labels as per selected language.

    In WordPress/PHP manually you can check/detect browser language as :

    $language = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
    $lang = explode(',', $language);

    $lang[0] will give you browser language. You can play around with this.

    Reply To: Login form in browser language

Share This Page

Monarch Social Sharing Plugin