Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 3    Views: 85

AlmaR
Lost but trying
Profile
Posts: 73
Reg: Jun 13, 2011
location unknow...
5,630
09/24/12 07:00 AM (13 years ago)

Change Language in Update Message

Hi guys! I am trying to display the update message - "This app's content has changed, would you like to refresh?" - in another language (spanish). Does anybody knows how to do it? I tried going to xxxxxxxx_appDelegate.m file in the BT_Config folder of xCode (where xxxxxxx = your project name) and change line 580 - "message:NSLocalizedString(@"updatesAvailable", "This app's content has changed, would you like to refresh?") - but when I do it the message stops showing. What I am missing?
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/24/12 07:13 AM (13 years ago)
You gotta create a localization file for that language. Check in Xcode, in the BT Config, you see one localization file, for english. Select it and on the righ you should she and + to add other languages Cheer. Miguel
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
09/24/12 07:17 AM (13 years ago)
In xcode go to the BT_Config folder and look for the english Localization file (EN) the name is: Localizable.strings look for this line: "updatesAvailable" = "This app's content has changed, would you like to refresh?"; You just make the change there. If you want your entire app to be spanish you will have to add the spanish localization and selecting ES (spain) or whichever country or not depends on your target. To get there to Project and in the info tab you will see localizations.
 
AlmaR
Lost but trying
Profile
Posts: 73
Reg: Jun 13, 2011
location unknow...
5,630
like
09/24/12 07:31 AM (13 years ago)
Wow, that was fast! Thanks Miguel and @mysps
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.