From 3210ee9f86300ba87d2ffd5f663c00b5731fee8a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 8 Aug 2024 10:20:00 +0200 Subject: [PATCH] Mention `wp site switch-language` in readme --- README.md | 20 ++++++++++++++++++++ composer.json | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) 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": {