So people are translating Magento 2.
How can I use the current translation from there in my project?
I can download a source.csv
- but won't I need one file per module?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communitySo people are translating Magento 2.
How can I use the current translation from there in my project?
I can download a source.csv
- but won't I need one file per module?
Maybe using this command from your project root:
bin/magento i18n:pack --mode=replace -d path/to/your/file/source.csv . de_DE
After that, use this command:
bin/magento setup:static-content:deploy de_DE
All the translations will be applied.
PHP Parse error: syntax error, unexpected '''' (T_CONSTANT_ENCAPSED_STRING), expecting ';' in /home/foo/bar/workspace/example.de/setup/src/Magento/Setup/Module/I18n/Dictionary/Phrase.php(278) : eval()'d code on line 1
source.csv
(for de_DE) is already rubbish.
You can download the language pack from the magento marketplace (free).
Then you just have to follow the installation instructions from the README.md
Installation
- Alle Dateien nach
/app/i18n/splendid/de_DE/
kopierenAus dem Magento-Root-Verzeichnis folgende Befehle aufrufen:
rm pub/static/frontend/Magento/luma/de_DE/js-translation.json
php bin/magento setup:static-content:deploy de_DE
php bin/magento setup:upgrade
rm -rf var/di
php bin/magento setup:di:compile
Hello Good afternoon my friend
Did the procedures that you said just upgrading to the language pt_BR
But see in the image that the error is displayed
"Requested languages: pt_BR File "/i18n/pt_BR.csv" does not exist> "
You have some information to correct this occurrence, because I intend to use this translation pack
http://pasteboard.co/1eIoZv6N.png
http://pasteboard.co/1eIsgplB.png
The strange thing is that when updating the page we see that was applied due translation