diff --git a/README.md b/README.md index 9035910e..3105df1b 100644 --- a/README.md +++ b/README.md @@ -766,6 +766,26 @@ wp language theme update [...] [--all] [--dry-run] Translation updated successfully. Success: Updated 1/1 translation. + + +### wp site switch-language + +Activates a given language. + +~~~ +wp site switch-language +~~~ + +**OPTIONS** + + + Language code to activate. + +**EXAMPLES** + + $ wp site switch-language ja + Success: Language activated. + ## Installing This package is included with WP-CLI itself, no additional installation necessary. diff --git a/composer.json b/composer.json index df669a66..142b011c 100644 --- a/composer.json +++ b/composer.json @@ -53,7 +53,8 @@ "language theme install", "language theme list", "language theme uninstall", - "language theme update" + "language theme update", + "site switch-language" ] }, "autoload": {