Skip to content

Commit 3210ee9

Browse files
committed
Mention wp site switch-language in readme
1 parent c22c458 commit 3210ee9

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,26 @@ wp language theme update [<theme>...] [--all] [--dry-run]
766766
Translation updated successfully.
767767
Success: Updated 1/1 translation.
768768

769+
770+
771+
### wp site switch-language
772+
773+
Activates a given language.
774+
775+
~~~
776+
wp site switch-language <language>
777+
~~~
778+
779+
**OPTIONS**
780+
781+
<language>
782+
Language code to activate.
783+
784+
**EXAMPLES**
785+
786+
$ wp site switch-language ja
787+
Success: Language activated.
788+
769789
## Installing
770790

771791
This package is included with WP-CLI itself, no additional installation necessary.

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"language theme install",
5454
"language theme list",
5555
"language theme uninstall",
56-
"language theme update"
56+
"language theme update",
57+
"site switch-language"
5758
]
5859
},
5960
"autoload": {

0 commit comments

Comments
 (0)