In the application, I only want to support the German language. This is good with all texts that I define myself, but I cannot change the texts displayed by the views provided by the system, for example, the UISearchBar cancel button:

If the device language is set to German, the cancel button displays “Abbreviated” correctly. However, if I set the device language to English (or any other language), the button shows “Cancel”, which is not true, since everything in the application is in German, so I want to have this button in German too. Can this be done? What am I doing wrong?
- I only have the de.lproj folder, and I don't have the en.lproj folder. I have InfoPlist.strings and my main nib files inside the de.lproj folder.
- The alias for representing the contents of the
UIViewController , whose searchDisplayController property that I use to access the search bar, is also located in the de.lproj folder. I set the development area inside .pbxproj to German:
developmentRegion = de;
I set the "localization localization development region" to "de" inside the Info.plist file:
<key>CFBundleDevelopmentRegion</key> <string>de</string>
source share