Skip to content

ChrisFox89/translator

 
 

Repository files navigation

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).

Packages

No packages published

Languages

  • PHP 100.0%