gloudemans/gettext is a Laravel package for integrate the php gettext library into laravel 4.
It currently has 3 GitHub stars and 174 downloads on Packagist.
Install it with composer require gloudemans/gettext.
Discover more Laravel packages by gloudemans
or browse all Laravel packages to compare alternatives.
Last updated
Install the package through Composer. Edit your project's composer.json file by adding:
"require": {
"laravel/framework": "4.0.*",
"gloudemans/gettext": "dev-master"
}
Next, run the Composer update command from the Terminal:
composer update
Now all you have to do is add the service provider of the package. To do this open your app/config/app.php file.
Add a new line to the service providers array:
'Gloudemans\Gettext\GettextServiceProvider'