File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff 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
771791This package is included with WP-CLI itself, no additional installation necessary.
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments