corona-warn-app / cwa-wishlist

Central repository to collect community feature requests and improvements. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
105 stars 14 forks source link

[UX] Convert all-uppercase names to titlecase #794

Open ThiefMaster opened 2 years ago

ThiefMaster commented 2 years ago

When you get vaccinated in France they seem to put your whole name in ALL CAPS (both first and last name). This looks quite ugly in the apps.

Would it be possible to use standard titlecasing in such a case? ie have each space-separated name start with a capital letter and make the rest lowercase. Ideally only apply this to ALL CAPS names, to avoid bad changes to names that have lowercased parts (e.g. "John van Helsing").


Internal Tracking ID: EXPOSUREAPP-11345

larswmh commented 2 years ago

Thanks for your report @ThiefMaster. We have created an internal ticekt for it and will raise this topic internally. Internal Tracking ID: EXPOSUREAPP-11345


Corona-Warn-App Open Source Team

MikeMcC399 commented 2 years ago

@ThiefMaster / @larswmh

There is no way for the app to re-interpret the correct capitalization of a person's name. That has to be done when a certificate is created.

The rule to apply title case would fail to produce the correct result for names like O'Reilly or McDonald. O'REILLY would be converted to O'reilly and MCDONALD to Mcdonald.

On German ID cards and passports the name is completely capitalized in any case.

ThiefMaster commented 2 years ago

On German ID cards and passports the name is completely capitalized in any case.

Yuck you're right. Anyway,at least German vaccination centers and doctors use normal capitalization when creating the certificates ;)

I agree that certain names would not be easily changeable in the most correct way - hence my suggestion to do it only if they are all-lowercase or all-uppercase. Because in the end, the name that's shown to humans is easier to read if it's not ALL IN BIG CAPS ;)

That has to be done when a certificate is created.

I agree that this would be better. Apparently the French system always put everything in uppercase (a few colleagues confirmed that they also have ALL CAPS there)

Ein-Tim commented 2 years ago

In my opinion this is rather an enhancement request and not a bug report, thus this should be moved to the cwa-wishlist repository. @dsarkar @larswmh