Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,26 @@ wp language theme update [<theme>...] [--all] [--dry-run]
Translation updated successfully.
Success: Updated 1/1 translation.



### wp site switch-language

Activates a given language.

~~~
wp site switch-language <language>
~~~

**OPTIONS**

<language>
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.
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"language theme install",
"language theme list",
"language theme uninstall",
"language theme update"
"language theme update",
"site switch-language"
]
},
"autoload": {
Expand Down