Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Package ignores json language files when --multi-locales is present #122

Open
adam-boduch opened this issue Mar 23, 2020 · 1 comment
Open

Comments

@adam-boduch
Copy link

php artisan vue-i18n:generate --multi-locales ignores JSON lang files. Output contains only data from resource/lang subdirectories.

Without this flag, everything works as expected.

Version: 0.1.46

@haringsrob
Copy link

I have a similar issue, I believe it lies in allocateLocaleJSON not doing its job properly.

I added for testing something like this $this->filesToCreate[$filePath][$lastLocale] = $this->adjustArray($tmp); but I don't feel like its the correct solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants