News for hackers. Stuff that matters.
Re:In the Turkish locale, "INFO".lower() != "info" by dragonwriter on Sunday August 16, 2020 @08:14PM (#24182519)
> I am skeptical if someone thinks they need to do this and how they will get it done.

It's not an uncommon requirement, though probably not often in a locale sensitive way, so you can often get away with just doing the right thing for one locale.

To do it generally, you probably need to research appropriate handling per locale (likely, what your client wants done in the particular locale, since I'm not sure there is usually just one way; I know there are multiple variations in en-US), and then have a master function that takes the text and target locale and applies the correct locale-specific title casing rules.

There are no comments on this comment yet.