Support » Fixing WordPress » Login form in browser language

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Login form in browser language’ is closed to new replies.