I use Localizable.string for each language that the project supports.
I also localized the storyabord file so I have a file with the info as these:
/ * Class = "IBUILabel"; text = "Subtitle"; ObjectID = "2Fy-d0-TVa"; * /
"2Fy-d0-TVa.text" = "Subtitle";
In my project I use NSLocalizedString to manage localization.
This has always worked well with
iOS 7.0 7.1 8.0
On iOS 8.1 I can no longer have the localized application correctly! I visualize all the details in English. This simulator is on both of the device.
Apple has broken something?
Localization in Xcode 6 has changed a little:
http://www.devfright.com/localization-xcode-6/
Related
I have been using the Today Widget in my Swift program and have not had any issues, until I started using iOS 11 beta. Since then the Bundle Display Name is not getting localized. Within my Info.Plist I have:
<key>CFBundleDisplayName</key>
<string>NSLocalizedString(CFBundleDisplayName, nil)</string>
And in my InfoPlist.Strings files I have
"CFBundleDisplayName" = "Recent Chats";
If I display the widget on anything before iOS 11 beta, the String is localized properly, however when I use an iOS 11 beta device, the String NSLocalizedString(CFBundleDisplayName, nil) is displayed.
Does anyone know of a change in iOS 11 beta or bug that could be causing this issue?
Did you test on ios 11 simulator or real device? If you test on simulator, Please change simulator language from Settings>General>Language&Region in simulator.
Another interesting thing which i realize that if you use base.lproj as only English version and there is no such a English localization, when simulator language is changed to Enlish(U.S) or English(U.K), InfoPlist.Strings (Base) value is not shown.
I am trying to make my project support IOS 8 + devices.
I have changed the deployment target as follows:
I have all the correct assets loaded (they are pasted over for confidentiality in the photo) in the appIcons.asset for IOS 8.0 >=
However, I still get the following issue when trying to publish:
I am using XCode 6.4. Can anyone tell me what I am missing?
Cheers!
The solution to the problem was to also check the "IOS 7 and later checkbox" and then fill in the required icons.
This is strange, since I am targeting IOS 8.0 and above. Not sure if this is intended or a bug.
Cheers!
Wikipedia said that the minimum iOS Deployment Target for Xcode 6's was iOS 7. I just checked, with XCode 6 GM listed on the page now, the minimum iOS Deployment Target has been changed to iOS 5.1.1.
I do need to support iOS 6.0, and would like to confirm this with official Xcode document. I searched and could not find this particular information. Can someone share the link to an official document that mentions this? Thanks.
Xcode 6 supports a deployment target back to 4.3. Of course It doesn't support any simulators that old. You would need to test on real devices.
You will have no problem supporting back iOS 6 with Xcode 6 but you will need real devices with iOS 6 to test your app properly.
I don't have a link to a document but all you need do is set the project's Deployment Target to iOS 6.0 and you will have your proof.
Xcode 6 doesn't seem to even see my iPad 1. Although the deployment target is set to 5.1, the popup only shows 6.0 as the minimum in the popup.
If I change the language on an iOS 8.1 simulator to anything and try to detect this from code with
NSString * language = [[NSLocale preferredLanguages] objectAtIndex:0];
NSLog(#"Language: %#", language);
I get "en" back. I've tried resetting the navigator, etc. I've tried this using the iOS 7.1 runtime (in Xcode 5.1.1), and it worked fine. Has anyone managed to find a workaround to this problem?
According to the release notes this is a known issue. There is a work around.
If you go to "Edit Scheme..." then the "Options" tab there's an "Application Language" option. This only affects the current run settings, not the app, much like changing the language of the device.
Another dupe of iOS8.1 Simulator always uses US keyboard layout despite german hardware keyboard
Known and documented bug as mentioned in the Xcode 6.1 release notes. File a radar if you want to add your +1 to the complaint list at http://bugreport.apple.com
My simulator is in French language. When I want to check interface in English then changing the iphone language is not enough. I have to switch the region settings minimum two times.
use [[NSLocale availableLocaleIdentifiers]
In my case, editing schema works for region but not for language.
It looks overwrite by development language.
Changing developmentRegion works fine with project.pbxproj like this.
developmentRegion = ja;
Xcode Version 11.3.1 (11C504)
iPhoneX iOS 13.3.1
I just successfully updated my Xcode tool to 5.1 version and when I check Downloads option in preference section then I noticed there is no option to download ios 6.0 simulator.(Please check attached image)
So how can I access ios 6.0 simulator in Xcode 5.1?
Please follow this procedure to upgrade your xCode
Upgrade xCode
At last change deployment target to access both IOS 6 and IOS 7 simulators.
There are basically no difference between IOS 6.0 and IOS 6.1, in 6.1 apple just added three header file with few method in MapKit framework and did little modification in UIKit. So I don't think that you should bother about that.
You can check the modification here