added custom view - languagebar
Merge branch 'master' of https://github.com/mcamara/laravel-localization
small improvement
Added optionnal $locale parameter to setLanguage()

I needed to set the language manually, so I thought it was a good idea to be able to set it from the `setLanguage()` function by adding a `$locale` parameter.
Update LaravelLocalization.php
Merge pull request #23 from nikospkrk/patch-1

Added optionnal $locale parameter to setLanguage()
little fix
readme updated
Fixes compatibility with Laravel 4.1

if (method_exists($router, 'getCurrentRoute')){…} fails to determine if
we are using Laravel 4.1.x or 4.0.x.
Instead, we can use a constant de identify the version...
Merge pull request #24 from jaumesala/master

Fixes compatibility with Laravel 4.1
Add .gitignore
Add cookie storage option for language.
Get the Accept-Language header the Laravel way.
Properly negotiate for the language rather than just taking the first two characters.
Save an in_array call and slightly improve readability.
Redirect with a 302 and tell crawlers why we redirected.
Clean up documentation and make parameters consistent in comments.
Use single quotes or \/ could cause an error
Changed getCleanRoute to prevent possible replacement of language strings not in the first section of the path variable.
Update README.md to match changes to code.