How To Localize WordPress for German

Copy wordpress-de files (you can copy over the exiting (English) WP version)

sudo cp -Rf /wordpress-de/* /var/www/
sudo vi wp-config.php

Here is the section:

* 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
* to wp-content/languages and set WPLANG to ‘de_DE’ to enable German
* language support.
define(‘WPLANG’, ”);

change to

define(‘WPLANG’, ‘de_DE’);

You may also like...