Closed murrant closed 5 years ago
Not a bug. This software is used to translate the Laravel translations (PHP files) into JSON for consumption by a js frontend such as vue-i18n
@martinlindhe I am talking about official Laravel translations.
https://laravel.com/docs/localization#using-translation-strings-as-keys
@murrant you are welcome to provide a patch to resolve your issue
I have one that fixes my use case but I wasn't sure what was expected for the multiple files option (which my patch breaks). Tests for these would help.
Fixed by #96
My application has both json and php language files. Both are included when I do a single file, but if I add --multiple-locales, json is not included in the output.