Skip to content

Commit

Permalink
Mention wp site switch-language in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Aug 8, 2024
1 parent c22c458 commit 3210ee9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
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

0 comments on commit 3210ee9

Please sign in to comment.