localization - iOS App supporting only Spanish -


  1. what trying develop ios app supporting spanish.
  2. what did project.xcodeproj file removed english & aded spanish enter image description here
  3. in info.plist file though option "es" not there, added "es" "localization native development region"enter image description here
  4. what see story board localisation string file got created enter image description here
  5. when run project on simulator, see default words display in spanish button text, view title display in englishenter image description hereenter image description here

**

query:

  1. i not need other language support english spanish, on right track?
  2. as developing first time, going through https://developer.apple.com/internationalization/ main.string file need describe spanish words english words define in storyboard or controller me button, view title etc.

please note: know there several question, docs & on topic sue confusions, want make sure on right track before moving further due time constraint. thank you

**

  1. your steps translate application spanish language correct.
  2. in main.strings can translate labels defined in storyboard.

in addition, can create file localizable.strings translate words created code, , in code should write this:

self.yourlabel.text = nslocalizedstring(<#key#>, <#comment#>); 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -