Nov 1, 2018

How to add multi language support to Wordpress

To install Wordpress with multi-language support, we need to set up wordpress database to support multi-language.
So before Open wp-admin/install.php in your browser,  make sure your wp-config.php has the following setting:
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', 'utf8_general_ci');
Search the following:
define ('WPLANG', '');

Edit this line according to the .mo file you've just downloaded, e.g. for the Portuguese spoken in Brazil you must add:
define ('WPLANG', 'pt_BR');
For simplified Chinese, it is:
define ('WPLANG', 'zh_CN');
Open wp-admin/install.php in your browser.