How to localize iOS 8 Today Widget? - ios

I am trying to localize my iOS 8 Today center widget.
I have a storyboard specifically for the widget and hit the localize button and selected Spanish. The same way I localized the normal part of the app. As you can see here:
The files have the following settings with Target Membership set to my extension:
No matter what I try (using .strings or individual .storyboards for each language or even setting the NSLocalizedStrings through code), I cannot get the language to show up correctly localized in the notification center widget. Everything works as expected in the regular app. Anyone have any experience or thoughts? Thanks!

For those experiencing the same problem, I had to delete the storyboard and rebuild a new one. Localizing this seemed to work.

Related

Storyboard mirroring after localization in iOS

I have an iOS app.
I started working on it without localization.
The app is RTL-language-oriented.
Now I wanted to localize the app so I created localization of strings.
I didn't add any storyboard localization.
But unfortunately, all the UI got mirrored.
I don't even have "main(base)" file
The question is -
Why is my UI NOT ignoring the language direction like it did before I started localizing? I expect the UI to ignore the language direction because I didn't add anything that should change the behavior it had before starting the localization.
(I know about the "right-leading left-trailing + respect language direction" ability of constraints, this is not my question)
Thank you!

is it possible to change the LaunchScreen Storyboard according to the country/region or default language of device?

i am developing an iOS app in which i want to show the LaunchScreen/SplashScreen according to the user's desired region or the default language of device amongst the other LaunchScreen stroyboards that i have made, i searched a lot but nothing much helped me so is this possible?
Thanks in advance!!
Who say It's not possible
Select project and add localization as below image
Add any language
Select desired storyboards
And here you can see storyboard for different languages.
---------------------------------- Test your localization --------------------
Edit your target scheme
Change Application language as below images and then run your app
Unfortunately this isn't something you can do.
According to Apple's documentation on Launch Screens, the launch screen should not contain any branding or text, so therefore can't be localised:
Avoid including text on your launch screen. Because launch screens are static, any displayed text won’t be localized.
If you want some localised text, you will have to present a custom view controller as your initial view controller as that will be localisable as any other view controller.
Yes, it is possible. See here
An iOS application should be internationalized and have a
language.lproj folder for each language it supports. In addition to
providing localized versions of your application’s custom resources,
you can also localize your launch images by placing files with the
same name in your language-specific project directories.
It's not possible.But you can mimic this scenario what just ankit said.
Keep the launch screen blank and didFinishLaunchingWithOptions function create a view controller with region specific content.
Below thread might help you.This was basically to add animation and your's quest was region specific but logic is same though. :)
how-to-add-animation-to-launch-screen-in-ios-9-3-using-objective-c

How to localize system buttons into the app?

My app uses custom localization for interactive language changing. The solution can be found here.
The problem is that the default view controllers (like AVPlayerViewController, SFSafariViewController etc.) localize the buttons ('Done', 'Cancel' etc.) based on the device language.
I tried adding to localization files the custom localization for 'Done' string but it doesn't work.
I do not want to have my app localized in German and SFSafariViewController localized in English (device language).
If you have met the problem like this one please give me your solution.
Thanks

In App settings tableview from Settings bundle

I want to create a TableView which is automatically generated from the Settings.bundle. There used to be a framework InAppSettings but this isn't working with iOS 7 and up. Is there any other code/tutorial for this?
I have been searching around and couldn't find a boilerplate solution so created my own code for doing this. It supports the setting types Title, Group, Text Field, Multi Value and Toggle Switch.
It does NOT SUPPORT Slider.
This solution does support portrait AND landscape mode and can also handle changing over device orientations.
I have published the code and readme on my GIT.
https://github.com/KingIsulgard/iOS-InApp-Settings-TableView/blob/master/README.md

IOS keyboard different language than IOS language

Currently I'm working on a Phonegap project which is in Dutch (dit not define a language in the App yet), also the OS is in Dutch.
Now my problem. When I open the keyboard or the camera I see a Done, Prev, Next button in English. Which should be in Dutch.
I have read multiple posts about the CFBundleAllowMixedLocalizations var, but don't know how to add this property in the info tab of my project. And will this solve my issue?
Also I have read that you can add a Language file, but I just want to have the IOS language inside this buttons. Any way to do this?

Resources