File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
## 24.7.8
2
+ * Added support for localization of content blocks.
3
+
2
4
* Mitigated an issue where visibility could have been wrongly assigned if a view was closed while going to background. (Experimental!)
3
5
* Mitigated an issue where the user provided URLSessionConfiguration was not applied to direct requests
4
6
* Mitigated an issue where a concurrent modification error could have happen when starting multiple stopped views
Original file line number Diff line number Diff line change @@ -137,6 +137,11 @@ - (NSURLRequest *)fetchContentsRequest
137
137
138
138
queryString = [CountlyConnectionManager.sharedInstance appendChecksum: queryString];
139
139
140
+ NSArray *components = [CountlyDeviceInfo.locale componentsSeparatedByCharactersInSet: [NSCharacterSet characterSetWithCharactersInString: @" _-" ]];
141
+
142
+ queryString = [queryString stringByAppendingFormat: @" &%@ =%@ " ,
143
+ @" la" , components.firstObject];
144
+
140
145
NSString * URLString = [NSString stringWithFormat: @" %@%@ ?%@ " ,
141
146
CountlyConnectionManager.sharedInstance.host,
142
147
kCountlyEndpointContent ,
You can’t perform that action at this time.
0 commit comments