We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a67a7f + 4faa05c commit 0b0f6b1Copy full SHA for 0b0f6b1
SVGeocoder/SVGeocoder.m
@@ -126,7 +126,7 @@ - (SVGeocoder*)initWithParameters:(NSMutableDictionary*)parameters completion:(S
126
[self.operationRequest setTimeoutInterval:kSVGeocoderTimeoutInterval];
127
128
[parameters setValue:@"true" forKey:@"sensor"];
129
- [parameters setValue:[[NSLocale currentLocale] objectForKey:NSLocaleLanguageCode] forKey:@"language"];
+ [parameters setValue:[NSLocale preferredLanguages][0] forKey:@"language"];
130
[self addParametersToRequest:parameters];
131
132
self.state = SVGeocoderStateReady;
0 commit comments