Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.41 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.41 KB

Laravel Translator

laravel-translator

This package gives you an easy way to translate Eloquent models into multiple languages.

// Display the default title for an Eloquent object.
echo $foo->title;

// Change the current language to Swedish.
App::setLocale('sv');

// Display the translated title in Swedish.
echo $foo->title;

Read more about how this package was created and why it exists in this blog post.

Build Status StyleCI Latest Version License

Documentation

This package features an extensive wiki to help you getting started implementing the translator in your Laravel and Lumen applications. Take me to the docs!

License

Laravel Translator is licensed under The MIT License (MIT).