Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can it auto-write lang file if not exists ? #36

Open
goesredy opened this issue Feb 13, 2021 · 1 comment
Open

Can it auto-write lang file if not exists ? #36

goesredy opened this issue Feb 13, 2021 · 1 comment

Comments

@goesredy
Copy link
Contributor

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.

@alexleokyky
Copy link

Yes. You need to create translation files first.

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

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

No branches or pull requests

2 participants