Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As text is moved from language to language, the words change, as does their order. For example, in one language, the words may be laid out like this: “Ted wants a scooter.” In another, the order might be “A scooter is what Ted wants.” Suppose that you try to localize the format string to be used like this:
NSString * theFormat = NSLocalizedString(@"WANTS", @"%@ wants a %@"); x = [NSString stringWithFormat:theFormat, @"Ted", @"Scooter"];