Localization folders error [Laravel 5.5]
Hello, Sorry for my english, but i have a bug with your generated js.
The problem is that if you have custom folders in your lang folder, this package is not work.
Folder: resources/lang/XX/
I have the folder "page" or others.
When i'm generate .JS file, i'm get variables this type:
ru.page.privacy:
----
---

which corresponds to the file: resources/lang/ru/page/privacy.php

But, it's not work, when i call function
Lang.get('page.privacy.site.title');

I have idea, but it's not best, but it's works for me. We need change the file function "getMessages()":
in /src/Mariuzzo/LaravelJsLocalization/Generators/LangJsGenerator.php
and replace 128-130 line in file to:

We get the variables:
ru.page_privacy:
----
---

And now, your package will be work.

Can you use the last version 1.4.5 and see if it is fixed?
Hello, Current version 1.4.6 - not work... Version 1.4.5 - not work...
Thank you for the quick reply, I will investigate. In the other hand, do you use webpack?
Hello, no, i'm use gulp ;)


Ok, I did a tool for webpack. Will take a look at that issue. Also, will check for a gulp plugin that does this.
@vvatitv you can try this
Lang.get('page/privacy/site.title');
or
Lang.get('page/privacy.site.title');
for me it work
@ivolkoff @rmariuzzo
Yes, it works now! Thanks great.