@@ -264,21 +264,33 @@ wp language plugin
264264
265265** EXAMPLES**
266266
267- # Install the Dutch plugin language pack.
267+ # Install the Dutch plugin language pack for Hello Dolly .
268268 $ wp language plugin install hello-dolly nl_NL
269- Success: Language installed.
269+ Downloading translation from https://downloads.wordpress.org/translation/plugin/hello-dolly/1.7.2/nl_NL.zip...
270+ Unpacking the update...
271+ Installing the latest version...
272+ Removing the old version of the translation...
273+ Translation updated successfully.
274+ Language 'nl_NL' installed.
275+ Success: Installed 1 of 1 languages.
270276
271- # Uninstall the Dutch plugin language pack.
277+ # Uninstall the Dutch plugin language pack for Hello Dolly .
272278 $ wp language plugin uninstall hello-dolly nl_NL
273- Success: Language uninstalled.
279+ Language 'nl_NL' for 'hello-dolly' uninstalled.
280+ +-------------+--------+-------------+
281+ | name | locale | status |
282+ +-------------+--------+-------------+
283+ | hello-dolly | nl_NL | uninstalled |
284+ +-------------+--------+-------------+
285+ Success: Uninstalled 1 of 1 languages.
274286
275- # List installed plugin language packages .
276- $ wp language plugin list --status=installed
277- +----------+ -------------- +-------------+-----------+-----------+---------------------+
278- | language | english_name | native_name | status | update | updated |
279- +----------+ -------------- +-------------+-----------+-----------+---------------------+
280- | nl_NL | Dutch | Nederlands | installed | available | 2016-05 -13 08: 12:50 |
281- +----------+ -------------- +-------------+-----------+-----------+---------------------+
287+ # List installed plugin language packs for Hello Dolly .
288+ $ wp language plugin list hello-dolly --status=installed
289+ +-------------+ ----------+-------------- +------------- +-----------+ --------+---------------------+
290+ | plugin | language | english_name | native_name | status | update | updated |
291+ +-------------+ ----------+-------------- +------------- +-----------+ --------+---------------------+
292+ | hello-dolly | nl_NL | Dutch | Nederlands | installed | none | 2023-11 -13 12:34:15 |
293+ +-------------+ ----------+-------------- +------------- +-----------+ --------+---------------------+
282294
283295
284296
@@ -348,6 +360,7 @@ Downloads the language pack from WordPress.org.
348360 Downloading translation from https://downloads.wordpress.org/translation/plugin/akismet/4.0.3/ja.zip...
349361 Unpacking the update...
350362 Installing the latest version...
363+ Removing the old version of the translation...
351364 Translation updated successfully.
352365 Language 'ja' installed.
353366 Success: Installed 1 of 1 languages.
@@ -403,8 +416,8 @@ These fields will be displayed by default for each translation:
403416
404417** EXAMPLES**
405418
406- # List language,english_name,status fields of available languages .
407- $ wp language plugin list --fields=language,english_name,status
419+ # List available language packs for the plugin .
420+ $ wp language plugin list hello-dolly --fields=language,english_name,status
408421 +----------------+-------------------------+-------------+
409422 | language | english_name | status |
410423 +----------------+-------------------------+-------------+
@@ -446,8 +459,15 @@ wp language plugin uninstall [<plugin>] [--all] <language>... [--format=<format>
446459
447460** EXAMPLES**
448461
462+ # Uninstall the Japanese plugin language pack for Hello Dolly.
449463 $ wp language plugin uninstall hello-dolly ja
450- Success: Language uninstalled.
464+ Language 'ja' for 'hello-dolly' uninstalled.
465+ +-------------+--------+-------------+
466+ | name | locale | status |
467+ +-------------+--------+-------------+
468+ | hello-dolly | ja | uninstalled |
469+ +-------------+--------+-------------+
470+ Success: Uninstalled 1 of 1 languages.
451471
452472
453473
@@ -472,6 +492,7 @@ wp language plugin update [<plugin>...] [--all] [--dry-run]
472492
473493** EXAMPLES**
474494
495+ # Update all installed language packs for all plugins.
475496 $ wp language plugin update --all
476497 Updating 'Japanese' translation for Akismet 3.1.11...
477498 Downloading translation from https://downloads.wordpress.org/translation/plugin/akismet/3.1.11/ja.zip...
@@ -490,21 +511,33 @@ wp language theme
490511
491512** EXAMPLES**
492513
493- # Install the Dutch theme language pack.
514+ # Install the Dutch theme language pack for Twenty Ten .
494515 $ wp language theme install twentyten nl_NL
495- Success: Language installed.
516+ Downloading translation from https://downloads.wordpress.org/translation/theme/twentyten/4.0/nl_NL.zip...
517+ Unpacking the update...
518+ Installing the latest version...
519+ Removing the old version of the translation...
520+ Translation updated successfully.
521+ Language 'nl_NL' installed.
522+ Success: Installed 1 of 1 languages.
496523
497- # Uninstall the Dutch theme language pack.
524+ # Uninstall the Dutch theme language pack for Twenty Ten .
498525 $ wp language theme uninstall twentyten nl_NL
499- Success: Language uninstalled.
526+ Language 'nl_NL' for 'twentyten' uninstalled.
527+ +-----------+--------+-------------+
528+ | name | locale | status |
529+ +-----------+--------+-------------+
530+ | twentyten | nl_NL | uninstalled |
531+ +-----------+--------+-------------+
532+ Success: Uninstalled 1 of 1 languages.
500533
501- # List installed theme language packages .
502- $ wp language theme list --status=installed
503- +----------+--------------+ -------------+ ----------- +-----------+---------------------+
504- | language | english_name | native_name | status | update | updated |
505- +----------+--------------+ -------------+ ----------- +-----------+---------------------+
506- | nl_NL | Dutch | Nederlands | installed | available | 2016-05-13 08:12:50 |
507- +----------+--------------+ -------------+ ----------- +-----------+---------------------+
534+ # List installed theme language packs for Twenty Ten .
535+ $ wp language theme list twentyten --status=installed
536+ +----------- +----------+ --------------+ -------------+-----------+ --------+---------------------+
537+ | theme | language | english_name | native_name | status | update | updated |
538+ +----------- +----------+ --------------+ -------------+-----------+ --------+---------------------+
539+ | twentyten | nl_NL | Dutch | Nederlands | installed | none | 2023-12-29 21:21:39 |
540+ +----------- +----------+ --------------+ -------------+-----------+ --------+---------------------+
508541
509542
510543
@@ -629,8 +662,8 @@ These fields will be displayed by default for each translation:
629662
630663** EXAMPLES**
631664
632- # List language,english_name,status fields of available languages .
633- $ wp language theme list --fields=language,english_name,status
665+ # List available language packs for the theme .
666+ $ wp language theme list twentyten --fields=language,english_name,status
634667 +----------------+-------------------------+-------------+
635668 | language | english_name | status |
636669 +----------------+-------------------------+-------------+
@@ -672,8 +705,15 @@ wp language theme uninstall [<theme>] [--all] <language>... [--format=<format>]
672705
673706** EXAMPLES**
674707
708+ # Uninstall the Japanese theme language pack for Twenty Ten.
675709 $ wp language theme uninstall twentyten ja
676- Success: Language uninstalled.
710+ Language 'ja' for 'twentyten' uninstalled.
711+ +-----------+--------+-------------+
712+ | name | locale | status |
713+ +-----------+--------+-------------+
714+ | twentyten | ja | uninstalled |
715+ +-----------+--------+-------------+
716+ Success: Uninstalled 1 of 1 languages.
677717
678718
679719
@@ -698,6 +738,7 @@ wp language theme update [<theme>...] [--all] [--dry-run]
698738
699739** EXAMPLES**
700740
741+ # Update all installed language packs for all themes.
701742 $ wp language theme update --all
702743 Updating 'Japanese' translation for Twenty Fifteen 1.5...
703744 Downloading translation from https://downloads.wordpress.org/translation/theme/twentyfifteen/1.5/ja.zip...
0 commit comments