-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Libre engine is asking for an API key #26
Comments
Same +1 |
I think this issue is the reason |
This is fairly expected since I'm sure a free service like this would get abused at some point. To fix it, you can either get a key from the official website or install Libretranslate on your own server and specify the URL+Key: // Use the key with the official website
translate.key = process.env.TRANSLATE_KEY;
// OR
// Install in your own server and set up the URL and key:
translate.url = "https://example.com/";
translate.key = process.env.TRANSLATE_KEY; This should be added as a note somewhere in translate documentation though, so I'll leave the issue it open for now. |
Added two notes on the README regarding Libretranslate, so I'm closing this issue :) |
When trying to get translations using libre engine the promise gets rejected with the following message
Error: Please contact the server operator to obtain an API key
I am wondering if the libre api changed or something else because the process exits with a non zero code.
I was able to do this only a few months back.
The text was updated successfully, but these errors were encountered: