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

How do you use this? #2

Open
muliyul opened this issue Oct 21, 2019 · 1 comment
Open

How do you use this? #2

muliyul opened this issue Oct 21, 2019 · 1 comment

Comments

@muliyul
Copy link

muliyul commented Oct 21, 2019

I've tried the following the usage but

  1. It's not clear at all (why use npm run pretest I don't have a test phase so I can't translate)?
  2. I tried running npx xlf-google-translate but got

{ Error: ENOENT: no such file or directory, mkdir 'D:\Work\xlf-google-translate\test'

My WD: C:\Users\..

Seems like something is broken.

@bpatrik
Copy link
Owner

bpatrik commented Oct 22, 2019

Hi

I tried to improve it. Can you check?

  1. It was a bad package.json script naming, I've added npm run build to build typesctipt to javascript (only needed if you download the repo directly)
  2. I might have published my internal config.json file. I deleted it, now you should got an error message that you don't have a given settings set.

I hope it helps.

Also this repo is not actively maintained. Sometimes the google translate part brokes. You are also welcome to jump in :)

best,
Patrik

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