xamarin native ios change language from language page - ios

hi I have a page that has two buttons one for English and another for Arabic, it will be the first page of the app so the user can choose any language he want.
how can i do that from A to Z because i didn't find any tutorial ?

Related

IOS: VoiceOver changes to English in WebView

I'm adding VoiceOver support to an app which at the moment only supports Norwegian. For most of the app VoiceOver correctly reads the text as Norwegian.
However, one page contains a webview which shows the terms and conditions (downloaded from a URL). For this page VoiceOver switches to English voice, even though this text is still in Norwegian.
I've tried to set accessibilityLanguage to "nb-NO" for both the webview and the containing viewcontroller but the text is still read as English. Do anyone know how I can make the webview be read in Norwegian?
Consider adopting the lang HTML attribute. This will trigger VoiceOver to generate speech in the appropriate language. Hat tip to Adrian Roselli for the suggestion.
Trying adding HTML lang="" attribute in your page. you can refer below url http://www.iana.org/assignments/language-subtag-registry for more specific value for lang attribute.
Hope this will help

Swift Bar button item set to system item "save" ignores app language

In my app I have a bar button item in my top navigation bar. I have set the button system item to "Save" which will display the button as Save
But even if my phone has a different language set the button still shows up with the text "Save"- english when I start the app
The language that various UI components appear in your app is based on two things:
The device's list of languages under the "Preferred Language Order" section of the "Language & Region" page of the Settings app.
The languages supported by your app as defined by the localization bundles your app provides.
An app only supports a single language by default. To support additional languages you must add an additional bundle for each language and then provide appropriate localization resources such as strings files and localized storyboards, etc.
Based on your app's supported languages and the devices settings, UI components will appear in a single, chosen language.
Lets say your app supports English, Spanish, and Chinese.
Now lets say a user's device has the languages German and English, in that order, listed on the Language & Region screen.
Your app will appear in English to this user. Based on your question, you seem to expect the Save button to appear in German. But if your app doesn't support German, why have the Save button appear in German and the rest of the app appear in English? That would be confusing.
So now go back to the simple case. You have a basic app and you haven't done any localization yet. Your app only has the one bundle - the default language for your app. Lets say that is English. Since your app only supports English, it would be really confusing for the Save button to be in any other language while the rest of the app is in English. So no matter what language the user has set for their device, the Save button will be in the app's only language, English in this example.

iOS - Internationalisation and Localization

Is it possible to change App language on Button tap ? I'm developing an App which should support multi languages and inside the App, there is option to choose the language (in the form of button). By default, App placeholder text will be in English, once the user choose some other language, placeholder text should change as per the language selected. I have gone through few examples in Internet, i couldn't find anything close to my requirement. I have seen example from appcoda and ray, but switching the language within the app is not provided. can somebody tell me how to achieve this ?
Thanks,
Pradeep

Single language ios app

I have a project in Xcode 5.0 and I want to support only a specific language different from english, for intance, pt. When the project is created, it has "Use base internationalization" checked. A tried adding my language and removing english, then when I run the app on a device of that language (pt), everything is ok, the controls of a image picker, for instance, are localized. But, if the device's language is english or a different one (for instance fr), the controls are shown in english. How can I force the app to show all controls in my language (pt)?
Maybe it is noob question, but when I uncheck "Use base internationalization" I lose the storyboard, and when I try to check again it asks for files but no options are shown. How can I change the reference language of base internationalization?

pdf file in UIWebView : change the language of the page number infobox

When opening a pdf in a UIWebview, a little infobox appears on the top-left corner of the screen.
I would like the language of this infobox to be the same as the app language.
For the moment I only have it in french "1 sur 2", whereas I would need it in dutch "1 op 2"
Is it possible to force a language for this ?
I've been changing the app language of the nsuserdefaults but it doesn't seem to impact this.
any help would be appreciated, thanks !
it seems this infobox uses the language of the device.
when changing the language in the NSUserdefaults, the app needs to be restarted before the uiwebview takes this into account.

Resources