I'm creating a NSError like this:
NSMutableDictionary* details = [NSMutableDictionary dictionary];
[details setValue:@"REQUEST_UNKNOWN_CONVERT_FOR_ENDPOINT" forKey:NSLocalizedDescriptionKey];
NSError * error = [NSError errorWithDomain:DOMAIN code:200 userInfo:details];
where REQUEST_... is my key in my translation file (Localizable.strings).
when I get an error I try to print it like this:
NSLog(@"%@", [error localizedDescription]);
It just prints my REQUEST_UNKNOWN...(my key) out instead of my translation.
Am I doing something wrong?