I'm trying to use Base internalization to localize my app. What I did - I made two .strings files for English and Russian version (Xcode did it for me), but when I change any string in MainStoryboard.strings(English), with the iPhone to English locale and launch app in debug mode nothing happens, all strings are still in Russian. What Im doing wrong ?
Related
I am trying to remove languages that are not supported in our app. In the project file in the info tab, I have removed all the languages under the Localizations.
Then I build the app and launch on my iPhone that is on iOS 13. In the System Settings, I find my app name and I can see Languages. When I click on it I can see the languages that are not supported anymore. Is there any other place I should remove something in order not to see those languages?
I found that erasing the simulator device and deleting the .lproj subdirectory wasn't enough, the deleted language was still showing up in the app settings. But restarting Xcode and cleaning the build folder seemed to do the trick.
I am new to Xcode swift programming and have developed an app with german as my development and base language. I did this by setting developmentRegion = de; in my project.pbxproj file.
Later on I added an english localization which works fine and I also set Localization native development region to English in the info.plist file. The reason is because the language should be english in all other regions which are not german.
Now I have the problem that if I switch the device language back to german the app will appear in english too.
How can I fix that?
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.
Problem: Japanese Strings are not displayed when device region and language are set to Japan.
I've described my project environment below
Environment:
• Device settings:
- iPhone language is set to Japanese and region is set to Japan
Xcode settings:
- Select the project in the project navigator, Targets and open the info and
set to Japan in Localization native development region
• iOS version: 9.0 or up
Expectation: App name and LocalizedStrings should be displayed as Japanese language
Actual result: App name is displayed by English and Strings are key values of NSLocalizedString.
In Info.plist file, if I change value from ja_JP to ja in CFBundleDevelopmentRegion, then I get Japanese string. I want to know why ja_JP is not working on iOS 9 or up?
Below iOS 9, ja_JP is worked fine and I get Japanese strings and Japanese app name also.
I have an iPad app, XCode 4.6.2, Storyboards, iOS 6.0 and ARC. The app runs fine, now I'm trying to localize it, starting with the Storyboards using Base Localization. This is what I see when I go to Proj Info:
When I click on Use Base Internationalization, this is what I get:
Notice that there is NO resource file or reference language to select! Why? and how do I fix this? I have searched SO, Google and found nothing.
UPDATE I don't want to delete this, but the answer is: Base Localization is NOT supported under iOS... bummer!