rmariuzzo/Lang.js

Add documentation about getting a message in a nested directory

Closed this issue · 3 comments

We need to add into README file a documentation section or note on how to get a message that originally was in a nested directory (that's using the /). For example:

Lang.get('forum/thread.hello')

The documentation should be added inside the code block here: https://github.com/rmariuzzo/Lang.js#get

I'll do it!

Fixed by #52

If Im using Lang.get('forum/thread.hello'), JS/VUE convert me this to forum.thread.hello, if I put two slashes gives me two dots ...

If I refer to lang file placed directly in main Laravel lang directory package works perfectly :(