Laravel-JS-Localization

🌐 Convert your Laravel messages and consume them in the front-end!

MIT License

Downloads
3M
Stars
595
Committers
34
Laravel-JS-Localization - 1.2.0

Published by rmariuzzo over 9 years ago

This release includes:

  • Laravel 5.1.x support 🎉
  • Working PHP & JS tests.

Happy coding!

Laravel-JS-Localization - First release

Published by rmariuzzo over 10 years ago

This is the firs release with basic functionality.

Laravel-JS-Localization - Support for nested messages

Published by rmariuzzo over 10 years ago

This release provides support for nested messages.

Now you can:

Lang.get('messages.family.children.son');

That will return the proper messages that was stored in lang/en/messages.php with the following content:

return array(
    "family" => array(
        "children" => array(
            "son" => "I am the son",
        )
    )
)

Happy coding!

Package Rankings
Top 0.77% on Packagist.org
Related Projects