My code is localized for two languages i.e. English and Arabic. I have placed a button on the top left of screen for side menu. When running the app in English localization, everything works perfectly, but when changing the device language to Arabic, the side menu button becomes unclickable. In Arabic localization, the default screen from left to right becomes right to left i.e. button on the top left in English localization gets placed in top right instead, in Arabic. Apart from that, I'm able to open the side menu from swipe gesture in both localizations.
You can remove the right to left behaviour in arabic by Disable Autolayout Localization Behavior (RTL - Right To Left Behavior )
OR
just remove arabic from localization and add new option in your app for arabic language and do all what you need in arabic by manually.
Related
The app has a Chinese localization and runs with Scheme options (see image).
When I hit the text field, I would expect a Chinese keyboard and not a German one.
I only see German, English and Emoji keyboards.
Is there any way to tell the Simulator which keyboard should be used by default?
Unfortunately, this is not automatic. You should manually add a Chinese keyboard and make it the default.
Navigate to Settings/Keyboards, add the Chinese keyboard under Keyboards and drag it to the first place of the list after clicking on Edit.
the play button is centered when I use google chrome in English, when I change the language of the browser to Hebrew (right to left) and also drag Hebrew to the top of the languages list, the play button is not centered, it has a bit offset.
I tried to set the html, body and the iframe of the embedded player with direction:ltr, but I didn't helped.
if I open the f12 developer tools and locate the play button and then change it's position from left 50% to right 50% it fixes the problem.
but that can only be done via the developer tools and not from javascrit/css.
I think that the css class of the button should be adapted to the browser's language.
does anyone knows how to solve this issue?
Thank you.
I am trying to make my app through internationalization and it works pretty well.
I made it in two languages: Turkish and English. But when I run my app in Turkish language, labels and buttons show Turkish language, but when I tap my UITextField, instead of showing the keyboard in Turkish language, it appears in English. So, how can I display my keyboard in Turkish language?
I am using IQKeyboardManager.
It can not be done automatically. Go to Settings -> General -> Keyboards. Add the keyboard which you would like to add.
Open the application and tap on text field. Tapping on the Globe Icon on keyboard will allow you to toggle the keyboard.
Programatically it is not possible.
you can change localization language if you add this in your info.plist file.
Actually, I need to translate only "done"/"pref"/"next" buttons at decimal pad keyboard to russian language or other. By the way, localization of the application in russian. Moreover, all other buttons like "cancel" at other control was translated automatically when I changed localization language. But not this.
Can it be done without customization?
It will help you.
iPhone: Change Keyboard language programmatically.
No this is not possible - user can only change their language in the settings.
However you can give the user an "English" keyboard if you choose (or ask them their preference)
you do this using: UIKeyboardTypeASCIICapable
You can change keyboard directly on the keyboard by pressing "globe icon" on the bottom row.
First, you have to enable those language for input in Settings. Then pressing the globe button on the keyboard would toggle between those languages.
I found the solution: You have to create a infoPlist.strings in your xCode project, and add this code:
/*
InfoPlist.strings
*/
"Done" = "OK";
Then, in your project-> Info, add your language (Spanish in my case).
Later, go back to your infoPlist file, and target "Spanish" in the right menu, under "Localization" tab.
In "Edit scheme", clicking next to the "stop application" button, click run->options and in "Application language" select "System language".
Repeat for all the languages of your app.
Success!!
In his following answer, Oscar describes how to create a custom button and add it as a subview to a UIKeyboard.
You can use the above to create the needed button with the required custom text & selector, then add it to the UIKeyboard in place.
How do I make MOSS Standard drop down menu to by open right to left
This page suggests that you need to set the site locale to be a language that has right to left text:
http://blogs.msdn.com/b/ecm/archive/2006/12/02/customizing-the-wss-3-0-moss-2007-menu-control-mossmenu-source-code-released.aspx
But:
In right-to-left locales, the fly-out
indicator arrow still points from
left-to-right.
And from this page, i guess that is Arabic or Hebrew
http://forums.asp.net/t/1097435.aspx