laravel-localization-loader icon indicating copy to clipboard operation
laravel-localization-loader copied to clipboard

Laravel Localization loader for webpack. Convert Laravel Translation strings to JavaScript Objects.

Results 8 laravel-localization-loader issues
Sort by recently updated
recently updated
newest added

Here is what I do: 'en.auth-message': require('../../../resources/lang/en/auth/message.php'),` and then `lang.get('auth-message.translation')` which works. However doing this: `en.auth/message': require('../../../resources/lang/en/auth/message.php'),` and then `lang.get('auth/message.translation')` or laravel convention `lang.get('auth.message.translation')` does not translate Any indeas on...

Just an FYI I was unable to compile due to an error generated once I installed Nova... ``` WARNING in ./resources/lang/vendor/nova/en.json Module parse failed: Unexpected token m in JSON at...

How does one test the usage of this library using `jest`? When I run `jest` on code that includes this library, I get the following error: ``` Jest encountered an...

adding usage for subfolders

Hello. Please explain the usage inside components, or to allow the lang to be shared globally to all components in app.js, as currently the guide allows it to only work...

Hi https://github.com/webpack-contrib/json-loader seems to be deprecated and as noticed in the reamde, webpack 2+ does support json imports by default. Think this loader can't be removed?

I'm developing a Laravel project with Laravel 5.7 and VueJs 2.6.7 and I've created a `messages.js` file as in README. But I only need the json translation files so I've...

Hi ! The plugin works like a charm ! But I can't use class constants in the translations files, for example : ``` 'status' => [ MyClass::STATUS_WAITING => 'Lorem Ipsum',...