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 translate is translating zxzxzx from 'en' -> 'fr' #390

Closed
npresco opened this issue Sep 7, 2021 · 0 comments · Fixed by #392
Closed

Google translate is translating zxzxzx from 'en' -> 'fr' #390

npresco opened this issue Sep 7, 2021 · 0 comments · Fixed by #392

Comments

@npresco
Copy link
Contributor

npresco commented Sep 7, 2021

In order to avoid translating any interpolation, i18n-tasks replaces the interpolation with zxzxzx (plus a counter if there are many interpolated variables). Google translate however has a strange bug when zxzxzx is asked to translate from en to fr, it translates it to zxzxxx. So afterwards, when the interpolation is supposed to replace zxzxzx with the original interpolation, it fails because is is now zxzxxx. And so french locales don't have the correct interpolation and also have the leftover zxzxxx strings.

I submitted feedback to google that this is wrong (or at least this definitely seems wrong to me), but there is no timeframe when that will be corrected on their end.

Screen Shot 2021-09-07 at 1 02 46 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant