Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Localizing the Cut|Copy|Paste menu on iOS

Im having some issues localizing a danish app ive made. (The language, not the pastry)

I have set the CFBundleDevelopmentRegion to da_DK for danish in my info.plist, but the popup appearing for text input is still in english, even on phones running the danish OS.

enter image description here

How in Jobs name can i change this ?

The test device is a non-jailbroken iPhone 4S running iOS 5.1 with Danish as its iOS setting, and a danish itunes account associated.

I do not use .xibs for designs. all interfaces are programmed as viewcontrollers.

like image 460
Nils Munch Avatar asked Jun 27 '12 11:06

Nils Munch


People also ask

What does cut do on iPhone?

You can use Universal Clipboard to cut or copy content (a block of text or an image, for example) on your iPhone, then paste it on iPad, on another iOS device, or on a Mac, and vice versa.

What does cut mean on Apple?

Copy: Pinch closed with three fingers. Cut: Pinch closed with three fingers two times.

How do I enable copy and paste on my iPhone?

Cut: Tap Cut or pinch closed with three fingers two times. Copy: Tap Copy or pinch closed with three fingers. Paste: Tap Paste or pinch open with three fingers.


2 Answers

In the Xcode's file tree (Project Navigator) select your project. in the right hand pane select your project again. select Info and add your language.

configure i18n


I created a sample project, this is the result:

enter image description here

like image 79
vikingosegundo Avatar answered Sep 18 '22 03:09

vikingosegundo


You can do this directly in the info.plist. Something like this:

<key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleLocalizations</key> <array>   <string>en</string>   <string>de</string>   <string>es</string>   <string>ja</string> </array>     
like image 35
SmartyP Avatar answered Sep 19 '22 03:09

SmartyP