What i am doing wrong ? create folder in /www/app/i18n/vendor/de_de/ with this fildes:



    "name": "vendor/de_de"
    ,"type": "magento2-language"
    ,"description": "Germany language"
    ,"authors": [{
        "name": "John",
        "email": "xxx@xxx.com",
        "role": "Developer"
    ,"extra": {"map": [["*", "vendor/de_de"]]}


<?xml version='1.0'?>
<language xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='urn:magento:framework:App/Language/package.xsd'>




after when this files created i run this commands:

php bin/magento i18n:collect-phrases -o app/i18n/vendor/de_de/de_de.csv -m
php bin/magento i18n:pack app/i18n/vendor/de_de/de_de.csv de_DE
php bin/magento cache:clean
php bin/magento setup:static-content:deploy de_DE

but site still on English, please tell me why ?


After this process you need to select locale from Admin > Stores > Configuration > General. Change locale and then run deploy command and clear cache. Now you can see your changes made in translation csv.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.