Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.538 kb
<?php
use lithium\g11n\Catalog;
/**
* Register the g11n resources with `Catalog` while maintaining existing
* configurations. This makes the resources contained in this plugin available
* to the application this plugin is contained in. `Message::translate()` calls
* will utilize these resources automatically as long as no or the `li3_lldr`
* named configuration is selected.
*/
Catalog::config(array(
'li3_lldr' => array(
'adapter' => 'Php',
'path' => dirname(__DIR__) . '/resources/g11n/php'
)
) + Catalog::config());
?>
Jump to Line
Something went wrong with that request. Please try again.