I need to set Spanish as development language for an iOS app. I'm already using Xcode 6, and I changed the Localization native development region
entry in app's Info.plist
(CFBundleDevelopmentRegion
) from "en" to "es". However, in Project > Info > Localizations, English remains set as Development Language.
As said in Information Property List Key Reference, CFBundleDevelopmentRegion
specifies the default language. I need to set Spanish to the default language, what am I missing?
Thanks
Xcode supports source code for the programming languages: C, C++, Objective-C, Objective-C++, Java, AppleScript, Python, Ruby, ResEdit (Rez), and Swift, with a variety of programming models, including but not limited to Cocoa, Carbon, and Java.
There is a language setting within the "Settings" app (a system app), and there the user can set the language. All installed apps will use this language setting.
Swift is a powerful and intuitive programming language for iOS, iPadOS, macOS, tvOS, and watchOS. Writing Swift code is interactive and fun, the syntax is concise yet expressive, and Swift includes modern features developers love.
Language SupportThe Xcode IDE supports the Swift programming language and gives developers the flexibility to write code in C, C++, Objective-C, Objective-C++, Java, Applescript, Python, React.
Here's how you can do this:
Info.plist
, change the development region to the language that you want to be your base language. Note that the property is a bit misnamed, because its value should be a language code (with an optional country code), rather than a region or country code.projectname.xcodeproj/project.pbxproj
and search for developmentRegion
. You should see a line like developmentRegion = English;
. Change this to reference the same language you put in your Info.plist
file.Here's an example of the result for me using fr
as the Base language:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With