How do I internationalize the following code:
NSLog(@"Feature: %@, Cost: %f, ID: %@",[product localizedTitle],
[[product price] doubleValue], [product productIdentifier]);
…with the code below:
NSLocalizedString(@"Feature", @"");
NSLocalizedString(@"Cost", @"");
In your Localizable.strings file:
Make sure you have an entry in each locale, including English.