Comment

Comment by mercutio2

Responding to a variety of questions made over the years about this:

This is a constant intended to be displayed after localizing the constant. Its localized value will primarily be displayed to users whose preferred languages have a short word describing the relationship.

But it ALSO needs at least some comprehensible localization in EVERY language, because I can send you a vcard for myself labeling this specific type of cousin (because that’s how I think of her), and I don’t know in advance what languages you use.

The primary customer of this family of constants is a localizer, who by virtue of localizing Apple software needs to know English, but may not read or understand Chinese.

The constant embeds everything that an English-speaking localizer needs to explain the relationship in a different language. That’s why something like the proposal here[0] (just use the Chinese name for this relationship) would not be an improvement.

A fully generic DSL to describe relationships wouldn’t help localizers know which relationships are actually used in the real world.

[0] https://news.ycombinator.com/item?id=28716546

parent mercutio2 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton