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

I am struggling to use this after I switched to Vite. Maybe someone solved it?

It helps to dramatically reduce the generated JavaScript file size In my testing, I was able to reduce file size from 170kb to 90kb because I had lots of escaped...

have message ``` PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in vendor/mariuzzo/laravel-js-localization/src/Mariuzzo/LaravelJsLocalization/Generators/LangJsGenerator.php on line 125 ``` Repository version `1.10.0`

When the Laravel version is 9 or higher. The second condition will be true and the third does not run at all. The order of the conditions had to be...

the last condition was a dead code cuz >=5 will override >=9

like laravel way https://github.com/laravel/framework/blob/8bcd484c8648053acf3a12041e7c8294392e15f7/src/Illuminate/Foundation/Application.php#L326-L332