> – Inserting a number into a sentence often requires adjusting other parts of > the sentence (nouns, verbs, articles) to the number. And while English has > only singular and plural, other languages distinguish more cases – up to six > for Arabic. > > – Inserting a name or noun into a sentence often requires adjusting other > parts of the sentence to the gender of the person or noun. While in English > gender usually is only reflected in pronouns, its impact is pervasive in some > other languages. > > – Formats for numbers and dates should be specified at a high enough level > that they can be automatically translated by internationalization libraries. > For example, don’t specify the order of year, month, day and the characters > to be used around them; specify just whether you want to have a long or a > short form and which components, and let an internationalization library > handle the rest.
This is all true, but it's also all handled by Foundation on Apple platforms and hopefully by Corelibs Foundation elsewhere. We ought to be able to hook into this existing machinery. -- Brent Royal-Gordon Architechies _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution