-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command fails, language package command "magento i18n:pack /var/www/html/magento2/xx_YY.csv -d xx_YY" #3560
Comments
@karishmadaffodil which version of magento are you on? also how did you deploy? If you used the latest git version, there has been some changes in how the i18n commands works. On latest develop from git, The |
I have try with it give me error "Not enough arguments." |
@mitul69 did you try on the latest develop branch? |
I am using Magento ver. 2.0.1 and it is giving me error "Not enough On Fri, Mar 4, 2016 at 9:18 PM, mazhalai notifications@github.com wrote:
Thanks and regards |
There is a difference between the development branche and the 2.0.x branche Try: php bin/magento i18n:pack --mode=replace -d /var/www/html/magento2/es_ES.csv . es_ES The . is the only difference :) |
Great. I run this command and it runs sucessfully with the message below :- Successfully saved es_ES language package. On Tue, Mar 15, 2016 at 1:36 AM, thomvanderboon notifications@github.com
Thanks and regards |
ok actually I find out that in every module inside i18n package, the On Fri, Mar 18, 2016 at 10:53 AM, Karishma Sharma <
Thanks and regards |
Step 1 : I run below command for generating translation dictionary 👍 It runs successfully with the below message "Dictionary successfully processed" and generates "es_ES.csv" file in the magento root directory. *Step 2: You have to translate this es_ES.csv, get a translated es_ES.csv file or get the latest from the crowdin-project (43% translation) Step 4: Run the commands: from document root: find . -name js-translation.json -exec rm -rf {} ; Please also have look at: |
Great. I follow the steps above and now I can see the translations at On Fri, Mar 18, 2016 at 2:01 PM, thomvanderboon notifications@github.com
Thanks and regards |
@karishmadaffodil as I can understand the original issue was solved. |
I want to create language package in Spanish for my multi-language website in english and spanish.I perform below steps.
Step 1 : I run below command for generating translation dictionary 👍
magento i18n:collect-phrases -o "/var/www/html/magento2/es_ES.csv" -m /var/www/html/magento2/
It runs successfully with the below message "Dictionary successfully processed" and generates "es_ES.csv" file in the magento root directory.
Step 2 : I run below command to create language package.
magento i18n:pack /var/www/html/magento2/es_ES.csv -d es_ES
It is giving "run time exception" with the message, Not enough arguments.
I also tried this command in different way like
magento i18n:pack /var/www/html/magento2/es_ES.csv es_ES
But run time exception comes again.
So, How can I generate language package in Spanish for my store in magento.What wrong I have done in second command or Any other solution please?
The text was updated successfully, but these errors were encountered: