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

fix (french): replace ${\d} delimiter with #{\d} to resolve currency bugs #202

Merged
merged 5 commits into from Jan 24, 2024

Conversation

kylemilloy
Copy link
Contributor

@kylemilloy kylemilloy commented Jan 24, 2024

There is a bug that occurs with french sometimes where the delimiter we use accidentally gets malformed so that the $ follows afterwards. This happens because in french (and some other languages) instead of showing a currency like $20.00 we show it as 20,00$ and so Google is taking our ${0} values and trying to be helpful by making these {0}$. Instead we change the symbol to #{0} which is ignored.

Resolves #201

@Stichoza

@Stichoza Stichoza merged commit bd9ef8a into Stichoza:master Jan 24, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

Bug report: preserveParameters gives unexpected results when translating to French
2 participants