-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
Character Escape Issue in French Localization ("Aujourd'hui" Displayed Incorrectly) #3046
Comments
To add on this, the label is improperly displayed in a header for example here:
from here: tasks/app/src/main/res/values-fr/strings.xml Line 220 in ed1f584
or here:
But quotes are properly displayed in the parameters list:
from here:
From this it is tempting to assume that Text values from andoidx...material3 are properly escaped, while xml ui templates expect the escapes to exist in the translation. But it is probabaly not enough, as the improper quote also happens in tasks/app/src/main/res/values-fr/strings.xml Line 614 in 31afc84
today_lowercase .
This is where I get lost in all the combinations, but here are a few screenshots to show when it works and when it fails. |
I have started migrating the app to compose multiplatform, and that involves migrating or duplicating some strings in the multiplatform library instead of the android app. And apparently multiplatform resources don't require single or double quotes to be escaped. I manually fixed these in 2178b4b, I hope this doesn't cause any issues with weblate 🤞 |
Thank you so much ! |
Hello,
I wanted to give some feedback regarding a character escape issue in the French version of the app.
On the "Today" page, the word "Aujourd'hui" is displayed as "Aujourd'hui" with a backslash before the apostrophe.
Here’s a screenshot for reference:
I did a quick search on the translation platform (https://hosted.weblate.org/projects/tasks/android/) but was unable to locate the source of the problem.
Version: 13.11.1
The text was updated successfully, but these errors were encountered: