Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 48

mikoz
I hate code!
Profile
Posts: 51
Reg: Nov 14, 2010
Australia
3,610
04/04/13 04:25 PM (12 years ago)

Localization for English and Japanese, multiple pdf and image file sources in xcode not downloaded.

Hi, I have just completed an English app for my company, and have just been asked to support Japanese within the app also. This app contains about 60 PDF files in English. I have had the PDFs translated into Japanese with the exact same file names. What I have tried is to localize all the English files into English and Japanese (English.lproj & ja.lproj) within x code and then replacing the source files within the ja.lproj folder with the Japanese versions. I have also localized the strings file to reflect the Japanese text (Which works fine in simulator btw). The issue is that now my project runs successfully in the simulator without errors but all of the localized pdf files are getting the "Data for this screen has not downloaded" error! Is there any simple way to fix this? Or have I taken the wrong approach? Mick
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
04/05/13 04:33 AM (12 years ago)
hi. I'd say you have the wrong approach. I think the .iproj and for localizaing the menus bar and tab bars, messages, that kind of stuff. What you need is to localize the content of the app itself. i've been trying to do that for a while, and the approach I made was having the app load a different config file. Watch the webinar on localization, I'm sure it will help you solve you problem. Miguel
 
mikoz
I hate code!
Profile
Posts: 51
Reg: Nov 14, 2010
Australia
3,610
like
04/07/13 05:02 PM (12 years ago)
Thanks Miguel, Over the weekend I watched those 2 webinars and have come to the conclusion now that I need to adopt that same exact method and build a new app in BT with all the appropriate localizations and then code in separate config files for each language/app. Cheers Mick
 

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.