rmariuzzo / Laravel-JS-Localization

🌐 Convert your Laravel messages and consume them in the front-end!
https://github.com/rmariuzzo/laravel-js-localization
MIT License
596 stars 170 forks source link

getting 500 error #102

Closed sadiss closed 7 years ago

sadiss commented 7 years ago

After following the Instructions I am getting Internal server error on latest laravel 5.4

rmariuzzo commented 7 years ago

@sadiss is this happening in a fresh Laravel installation? Also, can you show me the stack trace? That way I could probably see how this package relates to your error.

sadiss commented 7 years ago

I figured is out i was permission error. But i was not able to use translation method in standalone js file. can you do some kind of video tutorial on this package?

rmariuzzo commented 7 years ago

I could, but not immediately. How are you trying to ‘use the translation method in standalone js‘?

sadiss commented 7 years ago

using the Lang.get('messages.home'); in my app.js file

rmariuzzo commented 7 years ago

@sadiss any stack trace?

sadiss commented 7 years ago

@rmariuzzo No nothing no error shows up but no translation

rmariuzzo commented 7 years ago

I will close this one as we don't have enough information to reproduce the issue.