HakanL / resxtranslator

Resx Resource Translator
GNU General Public License v2.0
136 stars 28 forks source link

Google Api Error: Too many text segments [400] #77

Open elizeon opened 1 year ago

elizeon commented 1 year ago

Hi, I've just set up to use Google Translate in the app for the first time. When clicking 'Google Translate' and choosing 'en' to 'de' I get the error pictured. image It seems there's no way for me to choose to send less strings at once to avoid this error. I probably have less than 100 strings in my project, it's not a particularly large translation project so I was surprised by the error. I have resx files for de, es, fr, it, nl and pt.

Note for others with the issue: In the meantime, I found that the easiest way to translate is to copy everything into a google sheets and use this formula for translation: =GOOGLETRANSLATE(cell number, "en","de") Then copy it back into the app.

HakanL commented 1 year ago

It may be that it has to be split up into multiple batches. We're happy to accept contributions in PRs.