andywer / laravel-js-localization

Simple, ease-to-use and flexible package for the Laravel web framework. Allows you to use localized messages of the Laravel webapp (see `resources/lang` directory) in your Javascript code.
MIT License
143 stars 51 forks source link

Added support for JSON translations #66

Closed Alexwijn closed 5 years ago

Alexwijn commented 5 years ago

With this pull request we will be able to use json messages that is supported in Laravel 5/6.

See https://laravel.com/docs/5.7/localization#using-translation-strings-as-keys

andywer commented 5 years ago

Thanks for your contribution!