Skip to content

Commit 92cedef

Browse files
authored
Merge pull request #143 from wp-cli/regenerate-readme
2 parents ad6c4f3 + 7e9baa4 commit 92cedef

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,28 @@ wp language core
5151

5252
# Install the Dutch core language pack.
5353
$ wp language core install nl_NL
54-
Success: Language installed.
54+
Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/nl_NL.zip...
55+
Unpacking the update...
56+
Installing the latest version...
57+
Removing the old version of the translation...
58+
Translation updated successfully.
59+
Language 'nl_NL' installed.
60+
Success: Installed 1 of 1 languages.
5561

5662
# Activate the Dutch core language pack.
57-
$ wp language core activate nl_NL
63+
$ wp site switch-language nl_NL
5864
Success: Language activated.
5965

6066
# Uninstall the Dutch core language pack.
6167
$ wp language core uninstall nl_NL
6268
Success: Language uninstalled.
6369

64-
# List installed core language packages.
70+
# List installed core language packs.
6571
$ wp language core list --status=installed
6672
+----------+--------------+-------------+-----------+-----------+---------------------+
6773
| language | english_name | native_name | status | update | updated |
6874
+----------+--------------+-------------+-----------+-----------+---------------------+
69-
| nl_NL | Dutch | Nederlands | installed | available | 2016-05-13 08:12:50 |
75+
| nl_NL | Dutch | Nederlands | installed | available | 2024-01-31 10:24:06 |
7076
+----------+--------------+-------------+-----------+-----------+---------------------+
7177

7278

@@ -88,6 +94,7 @@ wp language core activate <language>
8894

8995
**EXAMPLES**
9096

97+
# Activate the given language.
9198
$ wp language core activate ja
9299
Success: Language activated.
93100

@@ -139,9 +146,10 @@ Downloads the language pack from WordPress.org.
139146

140147
# Install the Japanese language.
141148
$ wp language core install ja
142-
Downloading translation from https://downloads.wordpress.org/translation/core/4.9.8/ja.zip...
149+
Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/ja.zip...
143150
Unpacking the update...
144151
Installing the latest version...
152+
Removing the old version of the translation...
145153
Translation updated successfully.
146154
Language 'ja' installed.
147155
Success: Installed 1 of 1 languages.
@@ -216,6 +224,7 @@ wp language core uninstall <language>...
216224

217225
**EXAMPLES**
218226

227+
# Uninstall the Japanese core language pack.
219228
$ wp language core uninstall ja
220229
Success: Language uninstalled.
221230

@@ -236,9 +245,10 @@ wp language core update [--dry-run]
236245

237246
**EXAMPLES**
238247

248+
# Update installed core languages packs.
239249
$ wp language core update
240-
Updating 'Japanese' translation for WordPress 4.9.2...
241-
Downloading translation from https://downloads.wordpress.org/translation/core/4.9.2/ja.zip...
250+
Updating 'Japanese' translation for WordPress 6.4.3...
251+
Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/ja.zip...
242252
Translation updated successfully.
243253
Success: Updated 1/1 translation.
244254

0 commit comments

Comments
 (0)