Skip to content

Commit

Permalink
Merge pull request #153 from UmeshSingla/90-update-language-install-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Jun 21, 2024
2 parents 257b536 + 57f6dfd commit a9b5ae5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Core_Language_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function is_installed( $args, $assoc_args = array() ) {
/**
* Installs a given language.
*
* Downloads the language pack from WordPress.org.
* Downloads the language pack from WordPress.org. Find your language code at: https://translate.wordpress.org/
*
* ## OPTIONS
*
Expand All @@ -180,14 +180,14 @@ public function is_installed( $args, $assoc_args = array() ) {
*
* ## EXAMPLES
*
* # Install the Japanese language.
* $ wp language core install ja
* Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/ja.zip...
* # Install the Brazilian Portuguese language.
* $ wp language core install pt_BR
* Downloading translation from https://downloads.wordpress.org/translation/core/6.5/pt_BR.zip...
* Unpacking the update...
* Installing the latest version...
* Removing the old version of the translation...
* Translation updated successfully.
* Language 'ja' installed.
* Language 'pt_BR' installed.
* Success: Installed 1 of 1 languages.
*
* @subcommand install
Expand Down

0 comments on commit a9b5ae5

Please sign in to comment.