24aitor released a nice package that we can use to translate any string to multiple languages easily!

laralang for laravel

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