This repository has been archived by the owner on Jul 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 203
vue-i18n-locales.generated.js empty #41
Comments
That's strange. |
Hi, I've found the cause of error. Some malformed language files, instead of being encoded in utf-8 it was encoded in ISO-8859-1 See #43 Now i get:
|
You should try to analyse what is wrong with the json file using a json validator and fix the issues with it. laravel-vue-i18n-validator expects well-formed input json to work. I made one in go: https://github.com/martinlindhe/validjson |
I'm using PhpStorm, just browsing each file, PhpStorm told me that i was reading a file with the wrong encoding, thank god i had only 20 language files. Thanks for the tip! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, when i run the command:
php artisan vue-i18n:generate
The file vue-i18n-locales.generated.js only contains
export default
The text was updated successfully, but these errors were encountered: