Inside my iOS application, I have a function to redirect to AppStore to load a particular AppId.
static NSInteger const appITunesItemIdentifier = 0000000000;
SKStoreProductViewController *storeProductViewController = [[SKStoreProductViewController alloc] init];
storeProductViewController.delegate = self;
NSNumber *identifierNumber = [NSNumber numberWithInteger:appITunesItemIdentifier];
NSDictionary *parameters = @{ SKStoreProductParameterITunesItemIdentifier:identifierNumber };
[storeProductViewController loadProductWithParameters:parameters
completionBlock:^(BOOL result, NSError *error) {
if (result)
[self presentViewController:storeProductViewController
animated:YES
completion:nil];
else NSLog(@"%s - %d # Error descriotion = %@", __PRETTY_FUNCTION__, __LINE__, [error description]);
}];
This will load the related view accurately like in below image.
What I need is to localize the navigation bar button items to the device language.
In the picture, you can see the text in status bar is in Swedish. Is there a way that we can change the "Cancel" and "Store" texts to Swedish?
OR
Does that language depend on any settings that we have given in the AppStore account. I mean region, country or any other parameter?