laravel-js-localization
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.
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?
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...
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...
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:...