Many times in my UI programming career I have wanted to represent things like numbers, times, dates and lists correctly according to a given locale.
Are there any libraries that can help?
Cocoa and I'm guessing some Windows framework will help with the locale-appropriate human readable representation of numbers, times and dates. Are there any simple C or other libraries that help do this?
I want to express a list of names, for example James, Chris, Mark and Bob
. Of course, the and
at the end and the use of the U+002C
comma is specific to English, and the lack of Oxford comma probably specific to British English. Are there any libraries that can take care of this? Failing that, are there any resources that document such grammatical constructions in various languages?