Install and activate a WordPress language pack
change wordpress language command line | wordpress admin in wrong language | install wordpress language pack | wp-cli | language | translationCaution: This command changes the system. Understand what it does before you run it.
wp language core install de_DE --activate --path=/var/www/vhosts/example.com/httpdocsDownloads the core translation and sets it as the site language. The default value installs German, and de_DE_formal provides the formal German variant. Plugin and theme translations follow with wp language plugin install --all de_DE and wp language theme install --all de_DE.
Note: The language also sets the lang attribute in the HTML, which is relevant for search engines.
Also searched as
- change wordpress language command line
- wordpress admin in wrong language
- install wordpress language pack