PHP code example of bushbaby / bsb-doctrine-translation-loader
1. Go to this page and download the library: Download bushbaby/bsb-doctrine-translation-loader 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/ */
bushbaby / bsb-doctrine-translation-loader example snippets
sh
php composer.phar
return array(
'translator' => array(
'remote_translation' => array(
/* add a remote translation loader for each text domain */
// array('type' => 'BsbDoctrineTranslationLoader', 'text_domain' => 'default'),
// array('type' => 'BsbDoctrineTranslationLoader', 'text_domain' => 'other'),
),
),
);
return array(
'bsb_doctrine_translation_loader' => array(
'entity_manager' => 'em_identifier',
),
);