diff --git a/src/Core_Language_Command.php b/src/Core_Language_Command.php index 21c82439..81ac2a98 100644 --- a/src/Core_Language_Command.php +++ b/src/Core_Language_Command.php @@ -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 * @@ -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