Laralang: A cool translation package for Laravel!
24aitor released a nice package that we can use to translate any string to multiple languages easily!
Hello people!
Yesterday I release Laralang 3.0, a translation package that let you translate any string to multiple languages easily!
Laralangl 3.0, save translations into your database, and also you can edit them with a Manage Panel.
Here a preview:
How to use it? Easy you should follow the steps of README for register service providers, aliases, etc and then you will be able to do your first translation as next example:
Example 1:
{!! Laralang::trans('Hello world')->setTo('de') !!}
I hope you enjoy it and give me your opinion!
This article is submitted by 24aitor
Link:
This post is submitted by our members. Submit a new post.
Tags: Packages Laravel 5 Laravel 5.1 Laravel 5.2 Laravel 5.3 Intermediate Sources