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

Simple, ease-to-use and flexible package for the Laravel web framework. Allows you to use localized messages of the Laravel webapp (see `resources/lang` directory) in your Javascript code.

Results 10 laravel-js-localization issues
Sort by recently updated
recently updated
newest added

Would be good to get it working for Laravel 9. Should not require any changes.

I can't seem to make the .json files (as explained [here](https://laravel.com/docs/5.5/localization#using-translation-strings-as-keys)) work with js-localization, and especially the `:export` command. Is this supported?

enhancement

Could you please tag versions of the package so we can lock to a specific version in our composer dependencies? For example, we are unable to use this commit currently...

I have a translation message like this: `'items_from_to' => ':from - :to of :total'` When translating... ``` Lang.get('items_from_to', { from: 1, to: 10, total: 34 }) ``` I see: _1...

bug

Hi and thanks a lot for this great and useful package. It could be nice to have an option that make generation of split_export_files merging default language keys when they...

enhancement

When adding an empty string to `Lang.get()`, it returns the whole translation object for your locale. Would expect it to just return an empty string? E.g. `Lang.get("")` => `{ key1:...