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

Scan doesn't work on fresh project and install #27

Closed
slakbal opened this issue May 24, 2017 · 11 comments
Closed

Scan doesn't work on fresh project and install #27

slakbal opened this issue May 24, 2017 · 11 comments

Comments

@slakbal
Copy link

slakbal commented May 24, 2017

Hi Mohammed,

I have a fresh install of everything and a single view with the following:

__("This is a test")

Clicking on the scan I can see that the endpoint does return the correct value:

["This is a test"]

but the Vue component throws the following error:

langman.js:42763 Uncaught TypeError: Cannot read property 'This is a test' of undefined at Vue$3.addNewKey (langman.js:42763) at Vue$3.boundFn [as addNewKey] (langman.js:33189) at _.forEach.key (langman.js:42835) at arrayEach (langman.js:14459) at Function.forEach (langman.js:23281) at Object.$.post.done.response (langman.js:42834) at fire (langman.js:6979) at Object.fireWith [as resolveWith] (langman.js:7109) at done (langman.js:12934) at XMLHttpRequest.<anonymous> (langman.js:13176)

Are you getting it also on a fresh install?

@stefro
Copy link

stefro commented May 27, 2017

I have this same issue.

@seschi98
Copy link

seschi98 commented Jun 1, 2017

Me too.

@robsontenorio
Copy link

I think the problem is "cache files" from langman. Just delete all files in "storage/langmanGUI"

@seschi98
Copy link

seschi98 commented Jun 1, 2017

Did that already, problem still present...
When I click on "Scan" it just creates a new folder with an en.json in it. The file contains only an empty JSON Object.

@robsontenorio
Copy link

robsontenorio commented Jun 1, 2017

  1. clear cached files (storage/langmanGUI)
  2. clear json files (en.json , fr.json ...)
  3. open web interface with an anonymous session in Chrome
  4. add a language file (ex "fr")
  5. scan

@seschi98
Copy link

seschi98 commented Jun 1, 2017

Still not working 😏

@tutNichts
Copy link

@themsaid some news here? I really want to use it! Would be great if it works! :-)

@bivinvinod
Copy link

Same here...

@themsaid
Copy link
Owner

This is fixed now. thanks everyone.

@ali-syria
Copy link

still not working

@stefro
Copy link

stefro commented Nov 22, 2017

I had the same issue. I noticed that there was no json file for the base language in the resources/lang dir.
After creating an en.json file with only {} in the file everything worked as expected.

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

Successfully merging a pull request may close this issue.

8 participants