thiagocordeiro/laravel-translator

Can it auto-write lang file if not exists ?

goesredy opened this issue · 1 comments

I just try to follow the readme.
But I got an issue, translator:update error because:

  1. Lang file doesn't exists
    Translation file does not exist for en
  2. Lang file doesn't have JSON content (blank)
    Invalid translation file for language en

Can it just create the lang file first if not exists ?

Thanks for great package.

Yes. You need to create translation files first.

https://github.com/thiagocordeiro/laravel-translator#usage