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

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

Open
elizeon opened this issue Mar 2, 2023 · 1 comment
Open

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

elizeon opened this issue Mar 2, 2023 · 1 comment

Comments

@elizeon
Copy link

elizeon commented Mar 2, 2023

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
Copy link
Owner

HakanL commented Mar 2, 2023

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

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