#problem with a custom Python translator
36 messages · Page 1 of 1 (latest)
3b384731-b25c-4911-86b9-78fb53ed3e59
can you share your repo?
translator library: googletrans
please do not use googletrans it does not use official apis, people have been banned on railway for using unofficial apis.
use the offical api https://cloud.google.com/translate/docs/basic/translating-text#translate_translate_text-python
im sorry but i can't help you run this code on railway, please move over to the offical api, get that working locally first
once you are using official apis im here to help
can I use this library in conjunction with the official api? It’s just more convenient for me not to implement some functions with a library, but to translate the api
are you able to provide googletrans with your api token from google?
I still can’t get the api from google, there are some problems with linking a bank card
im sorry i cant help that
is the argostranslate library suitable?
does it use an api token from google?
I don't think so
then you are trying to use a paid service for free (google translate), thats is a big no no
I still don’t quite understand what kind of library this is, but it was recommended by chatgpt
its a library that allows you to use the google translate api for free, but the google translate api is not free, and thats the issue
thats going to be far harder to implement than the official google translate api
I tried to buy google api, but there was a problem with payment
I would like at least some kind of API, I’m not creating a large project, I need it for an exam
I would like some kind of just preferably free api
for a small project like this im sure you would be well within the the free limits of either google or bing's translation api, or at least it would be pennys, either way you need to use official apis with api tokens
yes, but you still need to link the card to the google api and that’s the problem
try the same with bing
everything is fine, I figured out bing tomorrow then I'll fix my code