Timeline for Magento 2 Translations not working
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26, 2021 at 11:31 | comment | added | Black | And how do I translate in german? Replacing en_US everywhere with de_DE ? | |
Dec 21, 2016 at 23:58 | comment | added | Devtype | You're changing Vendorname with your Vendor (directory). Ensure that en_US.csv exists in the specified location before running the command. | |
Dec 21, 2016 at 8:52 | comment | added | Chirag Prajapati |
When i run bin/magento i18n:pack app/i18n/Vendorname/en_US/en_US.csv -d en_US it give me error [RuntimeException] Not enough arguments. can you help me
|
|
Oct 24, 2016 at 11:07 | comment | added | Devtype | No worries, glad it helped and yes translation for elements that use UI components, validations etc require redeployment of static files (static-content-deploy) to work. | |
Oct 24, 2016 at 11:04 | vote | accept | Cake | ||
Oct 24, 2016 at 11:04 | comment | added | Cake | Found the problem. I had to php bin/magento setup:upgrade. After that my site was messed up, but then deplying the theme fixed it. No idea why this worked. Thanks | |
Oct 24, 2016 at 10:56 | comment | added | Cake | Great thanks, it works indeed. However, some translations don't come through. The 'Example:' translation and 'Required fields' aren't translated. How come? | |
Oct 24, 2016 at 9:52 | comment | added | Devtype | That's normal behavior, when you recollect phrases it overrides your changes because Magento has recollected all default phrases. Process is you collect phrases, make your changes and deploy them, once deployed you can go in the concerned module let's say you made change for Add to Cart to Add to Bag, you can go to vendor/module-catalog/i18n/en_US.csv and look for your change. Just retested this and it works as it should. Make sure you're changing the second instance in translation and clearing the cache properly. You can also try deploying static content once again. | |
Oct 24, 2016 at 9:40 | comment | added | Cake | When I do the collect-phrases command again, the translation is back to what it was. Why isn't it saving? | |
Oct 24, 2016 at 9:37 | comment | added | Cake | This looks promising. It says the language package was saved successfully but the translation is still not there.. | |
Oct 24, 2016 at 8:33 | history | answered | Devtype | CC BY-SA 3.0 |