Skip to content

Commit a9b5ae5

Browse files
authored
Merge pull request #153 from UmeshSingla/90-update-language-install-doc
2 parents 257b536 + 57f6dfd commit a9b5ae5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Core_Language_Command.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function is_installed( $args, $assoc_args = array() ) {
168168
/**
169169
* Installs a given language.
170170
*
171-
* Downloads the language pack from WordPress.org.
171+
* Downloads the language pack from WordPress.org. Find your language code at: https://translate.wordpress.org/
172172
*
173173
* ## OPTIONS
174174
*
@@ -180,14 +180,14 @@ public function is_installed( $args, $assoc_args = array() ) {
180180
*
181181
* ## EXAMPLES
182182
*
183-
* # Install the Japanese language.
184-
* $ wp language core install ja
185-
* Downloading translation from https://downloads.wordpress.org/translation/core/6.4.3/ja.zip...
183+
* # Install the Brazilian Portuguese language.
184+
* $ wp language core install pt_BR
185+
* Downloading translation from https://downloads.wordpress.org/translation/core/6.5/pt_BR.zip...
186186
* Unpacking the update...
187187
* Installing the latest version...
188188
* Removing the old version of the translation...
189189
* Translation updated successfully.
190-
* Language 'ja' installed.
190+
* Language 'pt_BR' installed.
191191
* Success: Installed 1 of 1 languages.
192192
*
193193
* @subcommand install

0 commit comments

Comments
 (0)