Skip to content
Merged
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
24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,28 @@ wp language core

# Install the Dutch core language pack.
$ wp language core install nl_NL
Success: Language installed.
Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/nl_NL.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the translation...
Translation updated successfully.
Language 'nl_NL' installed.
Success: Installed 1 of 1 languages.

# Activate the Dutch core language pack.
$ wp language core activate nl_NL
$ wp site switch-language nl_NL
Success: Language activated.

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

# List installed core language packages.
# List installed core language packs.
$ wp language core list --status=installed
+----------+--------------+-------------+-----------+-----------+---------------------+
| language | english_name | native_name | status | update | updated |
+----------+--------------+-------------+-----------+-----------+---------------------+
| nl_NL | Dutch | Nederlands | installed | available | 2016-05-13 08:12:50 |
| nl_NL | Dutch | Nederlands | installed | available | 2024-01-31 10:24:06 |
+----------+--------------+-------------+-----------+-----------+---------------------+


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

**EXAMPLES**

# Activate the given language.
$ wp language core activate ja
Success: Language activated.

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

# Install the Japanese language.
$ wp language core install ja
Downloading translation from https://downloads.wordpress.org/translation/core/4.9.8/ja.zip...
Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/ja.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the translation...
Translation updated successfully.
Language 'ja' installed.
Success: Installed 1 of 1 languages.
Expand Down Expand Up @@ -216,6 +224,7 @@ wp language core uninstall <language>...

**EXAMPLES**

# Uninstall the Japanese core language pack.
$ wp language core uninstall ja
Success: Language uninstalled.

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

**EXAMPLES**

# Update installed core languages packs.
$ wp language core update
Updating 'Japanese' translation for WordPress 4.9.2...
Downloading translation from https://downloads.wordpress.org/translation/core/4.9.2/ja.zip...
Updating 'Japanese' translation for WordPress 6.4.3...
Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/ja.zip...
Translation updated successfully.
Success: Updated 1/1 translation.

Expand Down