From f0d7bac0875f2e454d1305551d5c4497e7e54fe8 Mon Sep 17 00:00:00 2001 From: Abrar Pathan Date: Mon, 27 May 2019 14:13:29 +0530 Subject: [PATCH 1/2] Update config-cli-subcommands-i18n.md --- .../config-guide/cli/config-cli-subcommands-i18n.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/guides/v2.3/config-guide/cli/config-cli-subcommands-i18n.md b/guides/v2.3/config-guide/cli/config-cli-subcommands-i18n.md index 0cf24bc3eb2..1d9473a1d66 100644 --- a/guides/v2.3/config-guide/cli/config-cli-subcommands-i18n.md +++ b/guides/v2.3/config-guide/cli/config-cli-subcommands-i18n.md @@ -44,7 +44,7 @@ You have options for using the translated dictionary: Command options: ```bash - bin/magento i18n:collect-phrases [-o|--output=""] [-m|--magento] + php bin/magento i18n:collect-phrases [-o|--output=""] [-m|--magento] ``` The following table explains this command's parameters and values: @@ -102,7 +102,7 @@ This section discusses how to create a language package, which writes `.csv` fil Command usage: ```bash -bin/magento i18n:pack [-m|--mode={merge|replace}] [-d|--allow-duplicates] +php bin/magento i18n:pack [-m|--mode={merge|replace}] [-d|--allow-duplicates] ``` The following table explains this command's parameters and values: @@ -220,7 +220,7 @@ To add a German translation to a module or theme that you want to distribute to 1. Collect phrases from your module: ```bash - bin/magento i18n:collect-phrases -o "/var/www/html/magento2/app/code/ExampleCorp/SampleModule/i18n/xx_YY.csv" /var/www/html/magento2/app/code/ExampleCorp/SampleModule + php bin/magento i18n:collect-phrases -o "/var/www/html/magento2/app/code/ExampleCorp/SampleModule/i18n/xx_YY.csv" /var/www/html/magento2/app/code/ExampleCorp/SampleModule ``` {:.bs-callout .bs-callout-info} @@ -236,7 +236,7 @@ Similar to the preceding example, generate a `.csv` file, but instead of specify 1. Collect phrases from your module: ```bash - bin/magento i18n:collect-phrases -o "/var/www/html/magento2/xx_YY.csv" -m + php bin/magento i18n:collect-phrases -o "/var/www/html/magento2/xx_YY.csv" -m ``` {:.bs-callout .bs-callout-info} @@ -246,7 +246,7 @@ Similar to the preceding example, generate a `.csv` file, but instead of specify 1. Create the language package. ```bash - bin/magento i18n:pack /var/www/html/magento2/xx_YY.csv -d xx_YY + php bin/magento i18n:pack /var/www/html/magento2/xx_YY.csv -d xx_YY ``` 1. Create a directory for the language package. From 049d509a5c24471236b8ab783dff074542ac52bb Mon Sep 17 00:00:00 2001 From: Abrar Pathan Date: Mon, 27 May 2019 14:17:56 +0530 Subject: [PATCH 2/2] Update config-cli-subcommands-i18n.md --- .../config-guide/cli/config-cli-subcommands-i18n.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/guides/v2.1/config-guide/cli/config-cli-subcommands-i18n.md b/guides/v2.1/config-guide/cli/config-cli-subcommands-i18n.md index 8a5dbbfd18c..2f39a0d438b 100644 --- a/guides/v2.1/config-guide/cli/config-cli-subcommands-i18n.md +++ b/guides/v2.1/config-guide/cli/config-cli-subcommands-i18n.md @@ -44,7 +44,7 @@ You have options for using the translated dictionary: Command options: ```bash - bin/magento i18n:collect-phrases [-o|--output=""] [-m|--magento] + php bin/magento i18n:collect-phrases [-o|--output=""] [-m|--magento] ``` The following table explains this command's parameters and values: @@ -102,7 +102,7 @@ This section discusses how to create a language package, which writes `.csv` fil Command usage: ```bash -bin/magento i18n:pack [-m|--mode={merge|replace}] [-d|--allow-duplicates] +php bin/magento i18n:pack [-m|--mode={merge|replace}] [-d|--allow-duplicates] ``` The following table explains this command's parameters and values: @@ -219,7 +219,7 @@ To add a German translation to a module or theme that you want to distribute to 1. Collect phrases from your module: ```bash - bin/magento i18n:collect-phrases -o "/var/www/html/magento2/app/code/ExampleCorp/SampleModule/i18n/xx_YY.csv" /var/www/html/magento2/app/code/ExampleCorp/SampleModule + php bin/magento i18n:collect-phrases -o "/var/www/html/magento2/app/code/ExampleCorp/SampleModule/i18n/xx_YY.csv" /var/www/html/magento2/app/code/ExampleCorp/SampleModule ``` {:.bs-callout .bs-callout-info} @@ -235,7 +235,7 @@ Similar to the preceding example, generate a `.csv` file, but instead of specify 1. Collect phrases from your module: ```bash - bin/magento i18n:collect-phrases -o "/var/www/html/magento2/xx_YY.csv" -m + php bin/magento i18n:collect-phrases -o "/var/www/html/magento2/xx_YY.csv" -m ``` {:.bs-callout .bs-callout-info} @@ -245,7 +245,7 @@ Similar to the preceding example, generate a `.csv` file, but instead of specify 1. Create the language package. ```bash - bin/magento i18n:pack /var/www/html/magento2/xx_YY.csv -d xx_YY + php bin/magento i18n:pack /var/www/html/magento2/xx_YY.csv -d xx_YY ``` 1. Create a directory for the language package.