PHP code example of synoa / mage2-locale-de-de

1. Go to this page and download the library: Download synoa/mage2-locale-de-de library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

synoa / mage2-locale-de-de example snippets

bash
rm pub/static/frontend/Magento/{theme}/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
bash
composer c/frontend/Magento/{theme}/de_DE/js-translation.json
php bin/magento setup:static-content:deploy de_DE