Laravel-JS-Localization icon indicating copy to clipboard operation
Laravel-JS-Localization copied to clipboard

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

Results 36 Laravel-JS-Localization issues
Sort by recently updated
recently updated
newest added

It appears that translations in a `resources/lang/en.json` file (used for translations keyed by the default text) are ignored by the generator.

feature
hacktoberfest
help wanted

I clicked play and did not play, but pressing F12 in the console showed an error. that is: Uncaught ReferenceError: lang is not defined at enable_pst_btn (:6280:35) at HTMLSpanElement. (:4376:115)...

As of Laravel 5.5 packages translations are loaded from its ServiceProvider with . `loadTranslationsFrom()` method. However these translations are not being pulled in the generated `messages.js`. How would i get...

Adds option `-a` or `--autodetect` to the `php artisan lang:js` command. The autodetector searches files given by glob's set in the js-localization.php config file for `Lang.get()` / `Lang.has()` / `Lang.choice()`...

My question is how to most elegantly set current locale in js, based on currently used laravel (backend locale)? I have tried different solutions like for example setting locale based...

Hi, I am using Laravel 5.7 If I do simply composer require i am getting instalation error: ``` Problem 1 - Installation request for mariuzzo/laravel-js-localization ^1.5 -> satisfiable by mariuzzo/laravel-js-localization[v1.5.0]....

The package seems to work in laravel 6.0, but it's not possible to publish assets. Probably it's just necessary to add the version check in: https://github.com/rmariuzzo/Laravel-JS-Localization/blob/master/src/Mariuzzo/LaravelJsLocalization/LaravelJsLocalizationServiceProvider.php#L51, since nothing should change...

Hi all, this is not a classic issue about a bug but more a hint for developers using this localization library. I hope the hint will be useful for all...

Hello, We are facing issue after upgrading Laravel 5.7, can some one please check this issue and try to fix it if possible soon, there is around 1k log error...