Tried to translate the "newsletter"-module by creating the "uk_UA.csv" in the directory "app/code/Magento/Newsletter/i18n/uk_UA.csv", but this not working.
Do the same in the core of Magento, and it's working. What am I doing wrong?
How to Translate a Standard Module in Magento 2
magento2
Best Answer
As you know you shouldn't touch the vendor folder because it will be overwritten.
You can do it the following way (which I think it is best practice):
Create path:
In that folder create 4 files:
composer.json
uk_UA.csv
language.xml
registration.php
Bare in mind that it is case sensitive. Path, registration and vendor are
uk_ua
, but csv and code isuk_UA
.