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
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ wp language core activate <language>
Install a given language.

~~~
wp language core install <language> [--activate]
wp language core install <language>... [--activate]
~~~

Downloads the language pack from WordPress.org.

<language>
<language>...
Language code to install.

[--activate]
Expand Down Expand Up @@ -107,10 +107,10 @@ These fields are optionally available:
Uninstall a given language.

~~~
wp language core uninstall <language>
wp language core uninstall <language>...
~~~

<language>
<language>...
Language code to uninstall.

**EXAMPLES**
Expand Down Expand Up @@ -146,9 +146,11 @@ Updates installed languages for core, plugins and themes.

## Installing

Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.
This package is included with WP-CLI itself, no additional installation necessary.

To install the latest version of this package over what's included in WP-CLI, run:

Once you've done so, you can install this package with `wp package install wp-cli/language-command`.
wp package install [email protected]:wp-cli/language-command.git

## Contributing

Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"psr-4": {
"": "src/"
},
"files": [ "language-command.php" ]
"files": [
"language-command.php"
]
},
"require": {},
"require-dev": {
Expand All @@ -37,6 +39,7 @@
"language core list",
"language core uninstall",
"language core update"
]
],
"bundled": true
}
}