Download the PHP package borges/localization without Composer
On this page you can find all versions of the php package borges/localization. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download borges/localization
More information about borges/localization
Files in borges/localization
Package localization
Short Description Easy i18n localization for Laravel 4.
License MIT
Homepage https://github.com/mapb1990/Laravel-Localization-Module/
Informations about the package localization
Laravel Localization
Easy i18n localization for Laravel 4.
Instalation
In app/config/app.php, replace the following entry from the providers
key:
'Illuminate\Translation\TranslationServiceProvider',
with:
'Borges\Localization\LocalizationServiceProvider',
and add the next facade in the aliases
key:
'Locale' => 'Borges\Localization\Facades\Locale',
You may publish the package's configuration if you so choose, using artisan CLI:
php artisan config:publish borges/localization
Usage
Translation
This translations package is designed to adapt to your workflow. Translations are accessed just like in Laravel, with replacements and pluralization working as expected. The only difference is that languages can be inherited.
Example
app/en/app.php
app/en-US/app.php
app/pt/app.php
Another resources (dates, numbers, ...)
This package provides a local resource formatter for dates and numbers.
Example
Helpers
This package provides a collection of helpers functions. See helpers.php.
Changelog
v0.1.0 (17-12-2013)
- Initial release
Support or Contact
If you have any questions or found any bug, please contact me via twitter or github issues system.
All versions of localization with dependencies
illuminate/support Version 4.1.*
illuminate/translation Version 4.1.*
nesbot/carbon Version *