I have an app that I want to translate to Spanish. The app is very simple and uses a basic UINavigation Controller. The title is set in the main story board:

enter image description here

To add Spanish I did the followings:

  1. Added Spanish in the project Localizations

enter image description here My first question to you all is why is showing 4 files in English and 3 Files in Spanish, when I actually have 2 files for English and 2 Files for Spanish

  1. I enabled location to the view controller

enter image description here

enter image description here

  1. I added string file to the project as well. This is for labels and dynamic text within the views, and this is working as expected.

enter image description here

  1. Edited the Main.strings (Spanish)

enter image description here

When running the app, I edited the scheme, and set the application Language to Spanish.

When the app launched and got to the main screen, I still see Welcome instead of "Bienvenidos" What am I missing?

Other things you should know, when adding localization I enabled and disabled this feature a few times for the storyboard trying different options. Also, when testing the app, I change the settings language to Spanish, I deleted and installed the app multiple times as well.

I'm using Xcode 10.1, Project Format is Xcode 9.3-compatible, iOS deployment target is 12.1

Hope someone can help.

Related posts

Recent Viewed