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

"0 Keys" error #18

Closed
marioene opened this issue May 1, 2017 · 3 comments
Closed

"0 Keys" error #18

marioene opened this issue May 1, 2017 · 3 comments

Comments

@marioene
Copy link

marioene commented May 1, 2017

Hi,

After installing the component in a new Laravel project and publishing the config, I have this error in browser:

Top menu:
Laravel Langman 0 Keys

Content:
There are no JSON translation keys in your project, start by creating json files for every language in your "resources/lang" directory. In case you have the files already created, you may now start adding keys or let Langman scan your project for lines to translate.

Environment:
OS: Windows 10 Pro
Laragon 2.2.2 (Apache 2.4.25, PHP 7.1.1)

@themsaid
Copy link
Owner

themsaid commented May 1, 2017

The error is explaining the issue, you need to add json translation files to your project!

@marioene
Copy link
Author

marioene commented May 1, 2017

Of course I have in folders: 'resources/lang/en' and 'resources/lang/ro' default files for translations (from Laravel 5.4) in English and Romanian languages. Your component langman is working fine, like command php artisan langman:show auth, for example.

@themsaid
Copy link
Owner

themsaid commented May 2, 2017

This package only works for JSON translation files at the moment, those files should be placed in resources/lang as in resources/lang/en.json for example.

@marioene marioene closed this as completed May 2, 2017
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