Set Site Language

  • Change the language in the admin settings screen.
  • Find it here : Settings > General > Site Language, set to your desired language.

For Old WP versions ( < v4.0)
  • Open ‘wp-config.php’
  • Make sure that you’ve added your language code / locale in ‘wp-config.php’
    ( A locale is a combination of language and regional dialect ).
  • Modify the line below, or add if missing.
    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
    * language support.
    */
    define('WPLANG', '');

  • Like for the Portuguese spoken in Brazil you should add language code like this :
    define ('WPLANG', 'pt_BR');
  • Check the list to find your exact locale.
    https://make.wordpress.org/polyglots/teams/
  • Translate and upload POT file.