Skip to content

Commit c22c458

Browse files
authored
Merge pull request #158 from wp-cli/regenerate-readme
Regenerate README file
2 parents 4d06579 + e807013 commit c22c458

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Installs a given language.
150150
wp language core install <language>... [--activate]
151151
~~~
152152

153-
Downloads the language pack from WordPress.org.
153+
Downloads the language pack from WordPress.org. Find your language code at: https://translate.wordpress.org/
154154

155155
**OPTIONS**
156156

@@ -162,14 +162,14 @@ Downloads the language pack from WordPress.org.
162162

163163
**EXAMPLES**
164164

165-
# Install the Japanese language.
166-
$ wp language core install ja
167-
Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/ja.zip...
165+
# Install the Brazilian Portuguese language.
166+
$ wp language core install pt_BR
167+
Downloading translation from https://downloads.wordpress.org/translation/core/6.5/pt_BR.zip...
168168
Unpacking the update...
169169
Installing the latest version...
170170
Removing the old version of the translation...
171171
Translation updated successfully.
172-
Language 'ja' installed.
172+
Language 'pt_BR' installed.
173173
Success: Installed 1 of 1 languages.
174174

175175

@@ -201,6 +201,7 @@ wp language core list [--field=<field>] [--<field>=<value>] [--fields=<fields>]
201201
- table
202202
- csv
203203
- json
204+
- count
204205
---
205206

206207
**AVAILABLE FIELDS**
@@ -418,6 +419,7 @@ wp language plugin list [<plugin>...] [--all] [--field=<field>] [--<field>=<valu
418419
- table
419420
- csv
420421
- json
422+
- count
421423
---
422424

423425
**AVAILABLE FIELDS**
@@ -664,6 +666,7 @@ wp language theme list [<theme>...] [--all] [--field=<field>] [--<field>=<value>
664666
- table
665667
- csv
666668
- json
669+
- count
667670
---
668671

669672
**AVAILABLE FIELDS**

0 commit comments

Comments
 (0)