Open johnfelipe opened 2 years ago
Im using this one https://github.com/fkirc/attranslate
attranslate --srcFile=general.yml --srcLng=en --srcFormat=yaml --targetFile=general-es.yml --targetLng=es --targetFormat=yaml --service=google-translate --serviceConfig=traducciones-352415-79659df1c6f1.json
Cool, hope it's universal and doesn't take tags for translation.
may be can u reformat your app for use it to
Im using this one https://github.com/fkirc/attranslate
attranslate --srcFile=general.yml --srcLng=en --srcFormat=yaml --targetFile=general-es.yml --targetLng=es --targetFormat=yaml --service=google-translate --serviceConfig=traducciones-352415-79659df1c6f1.json
take a look and my be update your core code, i want contribute with your code for take a multiple options for machine translation
El vie, 5 ago 2022 a las 9:07, Artrois @.***>) escribió:
The file is too big for google API. The error tells you this: The total codepoints in the request must be less than 30720, actual: 75468' You need to check the limits set for the API, maybe it is possible to increase for more than 75000 per request.
— Reply to this email directly, view it on GitHub https://github.com/Artrois/Google_Translator_API/issues/1#issuecomment-1206497566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADIWFFH2JC6TKQVLTCZBBTVXUNZBANCNFSM55OZFNQQ . You are receiving this because you authored the thread.Message ID: @.***>
It is similar to what Im doing with my code. Not sure how much flexible the code from attranslate is but I dont see how my code can benefit from attranslate. I see your issue with using my code is related to an error that you reported on 5th Aug. That is not due to my code. As explained earlier the error occurred because your file contained more characters to translate than it was allowed by free tier of google translate. As mentioned you need to check in your account if you can increase the max number of characters that is allowed per request via translate API. Look here, this is your response from google: It tells you the issue. you need now to check with google how to increase the limit.
https://gist.github.com/1641f7402fdfc3969e9edb7f08bccc8e