Skip to content
Closed
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ wp i18n make-mo <source> [<destination>]
$ wp i18n make-mo .

# Create a MO file from a single PO file in a specific directory.
$ wp i18n make-mo example-plugin-de_DE.po languages
$ wp i18n make-mo languages/example-plugin-de_DE.po

# Create a MO file from a single PO file to a specific file destination
$ wp i18n make-mo example-plugin-de_DE.po languages/bar.mo
Expand Down Expand Up @@ -255,7 +255,7 @@ wp i18n make-php <source> [<destination>]
Success: Created 3 files.

# Create a PHP file from a single PO file in a specific directory.
$ wp i18n make-php example-plugin-de_DE.po languages
$ wp i18n make-php languages/example-plugin-de_DE.po
Success: Created 1 file.


Expand Down
2 changes: 1 addition & 1 deletion src/MakeMoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MakeMoCommand extends WP_CLI_Command {
* $ wp i18n make-mo .
*
* # Create a MO file from a single PO file in a specific directory.
* $ wp i18n make-mo example-plugin-de_DE.po languages
* $ wp i18n make-mo languages/example-plugin-de_DE.po
*
* # Create a MO file from a single PO file to a specific file destination
* $ wp i18n make-mo example-plugin-de_DE.po languages/bar.mo
Expand Down
2 changes: 1 addition & 1 deletion src/MakePhpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class MakePhpCommand extends WP_CLI_Command {
* Success: Created 3 files.
*
* # Create a PHP file from a single PO file in a specific directory.
* $ wp i18n make-php example-plugin-de_DE.po languages
* $ wp i18n make-php languages/example-plugin-de_DE.po
* Success: Created 1 file.
*
* @when before_wp_load
Expand Down