Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIDocumentInteractionController is great but how about the language setting?

I'm using the UIDocumentInteractionController for iPad and everything is fine, but how can I change the buttons or menus of UIDocumentInteractionController presentation to any other language? All are in English. For example I noticed that: on Apple's e-mail app, if there is a attached file and when I touch enough on it, it presents the necessary menu and buttons according to the locale language setting on the device.

like image 691
Levent Ahmet Sevgili Avatar asked Mar 21 '26 20:03

Levent Ahmet Sevgili


1 Answers

I was having similar issue and after short discussion in devforum and one test project I found the problem.

In general Aplle's controllers respect localization of your app, so they are not displayed in device's language if the device language is not included in project's localization language list.

I had one other problem, that I edited project.pbxproj with aim to have my language as the development language (developmentRegion = English; to developmentRegion = Czech;). So I had Czech present on the list, but controllers were still in English. After changing the development region back and adding Czech to the list everything works just fine.

like image 154
Almighty Avatar answered Mar 24 '26 10:03

Almighty



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!