How to Change WordPress Site Language?

Use any one method and change WordPress site method. If you have Hindi content site, So set language attribute in Hindi. So now follow any one method for changing site language –

By Theme

  • Open header.php file.
  • Replace language_attributes(); to
    echo 'lang="hi-IN"';
  • Then SAVE header.php file.

If you use this method. Then change only site language.


By WordPress Dashboard

  • Open WordPress’ Dashboard.
  • Then go to Settings then click on General.
  • Scroll down and change site language.
  • Now click to SAVE CHANGES button for save.

If you have use this method then change all dashboard language and site language.