Downloads
Stars
Version
Use my new package called Kotoba for Laravel 5. I will no longer support this.
Baseline language files for Laravel4.
0.8.0
1.) Add to composer.json in the require statement:
"require": {
"illuminate3/lingos": "dev-master",
...
},
2.) Add to the app.php providers list
'Illuminate3\Lingos\LingosServiceProvider',
{{ Lang::get('lingos::auth.register') }}
real world examples:
{{ Lang::get('lingos::filename.word') }}
{{ trans('lingos::filename.word') }}
lingos:: // The package name auth. // The language file name register // The phrase or word that you want to call
Result: Register
Note: Sometimes you have words or phrases that can fall into both the button and general categories. I separated these since you might want to have them slightly different, like capitalizations or similar.