Google Places API for IOS未设置本地化语言

Google Places API for IOS未设置本地化语言,ios,iphone,localization,google-places-api,Ios,Iphone,Localization,Google Places Api,在我的应用程序中,我需要用户使用GooglePlaces选择一个地方。我这样称呼google place picker: GMSPlacePicker * placePicker = [[GMSPlacePicker alloc] initWithConfig:config]; GMSPlacesClient * placesClient = [GMSPlacesClient sharedClient]; [placePicker pickPlaceWithCallback:^(GMSPl

在我的应用程序中,我需要用户使用GooglePlaces选择一个地方。我这样称呼google place picker:

GMSPlacePicker * placePicker = [[GMSPlacePicker alloc] initWithConfig:config];

GMSPlacesClient * placesClient = [GMSPlacesClient sharedClient]; 

[placePicker pickPlaceWithCallback:^(GMSPlace *place, NSError *error) {...}];

我的问题是,该视图设置了英语,而不是我的本地化语言(斯洛伐克语)。我已经读到,它应该找到自己的本地化

我所做的是更改app info.plist中的默认语言

Localization native development region to = "your language prefix goes here"
这改变了我的应用程序本地化,也将Google Place Picker更改为首选语言。 我的应用程序也需要从左到右,但我的语言是从右到左,所以我也强制应用程序“从左到右” 在我的应用程序代理中:

UIView.appearance().semanticContentAttribute = UISemanticContentAttribute.forceLeftToRight
请考虑仅支持ios 9及以上版本的“semanticContentAttribute”


我希望这有助于解决这个问题的任何人

这个问题有什么解决办法吗?没有,如果你找到了解决办法,请写下答案。