On Dec 23, 2009, at 7:38 AM, Jerry Krinock wrote:

> 
> Well, Ricky I see you're one of the few who has really thought through all 
> the issues.
> 
> On 2009 Dec 22, at 19:59, Kyle Sluder wrote:
> 
>> On Tue, Dec 22, 2009 at 11:54 AM, Ricky Sharp <rsh...@mac.com> wrote:
>>> * No plural forms (while allowing plurals can be handled, it's not worth 
>>> the effort IMO)
> 
> That's good, because I read somewhere that in some languages, for example 
> Arabic, there are actually different forms for "one", "two", and "three or 
> more".

At my day job, we're moving a very large product to Arabic.  We definitely 
didn't want to deal with its 6 plural forms.

Official rules can be found here:

<http://unicode.org/cldr/data/charts/supplemental/language_plural_rules.html>


> But not using plural forms at all -- I would find that to be very difficult.

Not as bad as you may think.  At my day job, we removed over 3,000 occurrences 
of plural forms to include "(s)".  Took just three of us about a week.

>> NSString has support for this with the syntax "Blah %1$@ blah %2$@".
>> Bizarrely, it starts at 1, not 0.
> 
> You're correct Kyle, but I have enough trouble typing "%1$@" myself.  There 
> it just took me about 10 seconds.  When I discovered this "feature" a few 
> years ago, I decided that either localizers were going to frequently type it 
> wrong, or use some kind of automated typing that would frequently type in the 
> wrong one.  So I wrote my own localized string function which does it the way 
> that it was done in Classic Mac OS, with simply %0, %1, %2, and is 
> type-agnostic.  That's what I use now, and it seems to be bug-free at this 
> point.

Yea, ended up writing my own utility as well.

___________________________________________________________
Ricky A. Sharp         mailto:rsh...@instantinteractive.com
Instant Interactive(tm)   http://www.instantinteractive.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to