diff --git a/README.md b/README.md index 92fa21f0..2895a690 100644 --- a/README.md +++ b/README.md @@ -23,19 +23,37 @@ wp language # 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. - # Install the Dutch language pack for Twenty Seventeen. - $ wp language theme install twentyseventeen nl_NL - Success: Language installed. + # Install the Dutch theme language pack for Twenty Ten. + $ wp language theme install twentyten nl_NL + Downloading translation from https://downloads.wordpress.org/translation/theme/twentyten/4.0/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. - # Install the Dutch language pack for Akismet. - $ wp language plugin install akismet nl_NL - Success: Language installed. + # Install the Dutch plugin language pack for Hello Dolly. + $ wp language plugin install hello-dolly nl_NL + Downloading translation from https://downloads.wordpress.org/translation/plugin/hello-dolly/1.7.2/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. diff --git a/src/Language_Namespace.php b/src/Language_Namespace.php index 970f3961..8dd70ee7 100644 --- a/src/Language_Namespace.php +++ b/src/Language_Namespace.php @@ -9,19 +9,39 @@ * * # 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. * - * # Install the Dutch language pack for Twenty Seventeen. - * $ wp language theme install twentyseventeen nl_NL - * Success: Language installed. + * # Install the Dutch theme language pack for Twenty Ten. + * $ wp language theme install twentyten nl_NL + * Downloading translation from https://downloads.wordpress.org/translation/theme/twentyten/4.0/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. * - * # Install the Dutch language pack for Akismet. - * $ wp language plugin install akismet nl_NL - * Success: Language installed. + * # Install the Dutch plugin language pack for Hello Dolly. + * $ wp language plugin install hello-dolly nl_NL + * Downloading translation from https://downloads.wordpress.org/translation/plugin/hello-dolly/1.7.2/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. + * + * @package wp-cli */ class Language_Namespace extends CommandNamespace {