-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Variable placeholders getting corrupted while using Google translate API #51
Comments
hackerkid
changed the title
Variable placeholders getting corrupted while usinh Google translate API
Variable placeholders getting corrupted while using Google translate API
Jul 1, 2021
It looks like the placeholders aren't in the right format. This tool works either with ICU/i18next placeholders like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@leolabs Thanks for building this. This is a fantastic tool with excellent documentation and made my life a lot easier.
But I did face an issue while using this tool.
So I was trying to translate the strings without arabic translations in the following for fixing zulip/zulip#18933.
https://github.com/zulip/zulip/blob/05352f417a8f163ee8bda1fc1593875c432c5297/locale/ar/translations.json.
The command completed sucesfully. But 17 strings ended up having the variable names corrupted. There are 55 strings with a variables in the file. So around 30% of the strings ended up being corrupted. I guess the good news is 70% got translated correctly :)
Here are the list of strings that were corrupted. The first line contains the string in English and the second line contains the translation in Arabic.
Any idea why this happened?
The text was updated successfully, but these errors were encountered: