PHP code example of drupal-composer / drupal-l10n
1. Go to this page and download the library: Download drupal-composer/drupal-l10n 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/ */
drupal-composer / drupal-l10n example snippets
$config['locale.settings']['translation']['path'] = 'translations/contrib';
$config['locale.settings']['translation']['use_source'] = 'local';