Re: Determining use of serial comma
Re: Determining use of serial comma
- Subject: Re: Determining use of serial comma
- From: Aki Inoue <email@hidden>
- Date: Mon, 24 Nov 2008 12:16:30 -0800
I believe the serial comma is, in a strict sense, not tied to any
particular locale even though it's commonly used in US.
Also, it's advisable not to try algorithmically formatting localized
strings like this.
It often causes issues with other locales because it's very hard for a
single person to predict what localizers would want to with such
strings.
Usually you can get more flexible localizability if you give the
entire context to localizers (let them localize the entire format
string, for example).
Just my two cents.
Aki
On 2008/11/23, at 2:56, Andreas Eriksson wrote:
Hi,
is there a way to find out if a serial comma should be used or not
("foo, bar, and baz" or "foo, bar and baz"?) according to the users
current settings?
I've locked around in the NSLocale class but couldn't find anything.
Regards
Andreas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden