baker icon indicating copy to clipboard operation
baker copied to clipboard

Multilanguage magazine: is it possible?

Open albertoMartinsen opened this issue 15 years ago • 37 comments

Hi,

I'm new to Baker and to the AppStore. I'm about to release my first little ebook for children inside the AppStore using Baker+Hype (http://www.tumultco.com/hype/). I'm not a programmer, just a designer, so I found both a perfect combination for me (within Hype I design the book, and later use Baker as the envelope to build the app). The only thing I'm wondering right now is about languages: I'm spanish living in Norway, and my girlfriend is from Barcelona, so we would like to have the book translated to 4 languages: Spanish, English, Catalan, and Norwegian. I'm not sure how to make it easier for me and for the customers: Should I make one app for each language? Should I put flags in the first page to choose the language and then have 4 books inside one app? Or is there a workaround for Baker to detect the language of the iPhone or iPad and show the appropriate language itself?

Sorry if it's not the right place to answer, but I didn't find other support forum.

Thanks in advance ;)

albertoMartinsen avatar Sep 02 '11 11:09 albertoMartinsen

Maybe you could place different .hpub-files on a server, so your reader can download the book after choosing their own language? Check the README file for using .hpub files, it's really simple!

danielbenjamins avatar Sep 02 '11 11:09 danielbenjamins

It should be easy just using the multilingual feature of iOS apps, but even if we know it was done in one of the previous versions of Baker, I didn't test with the latest one.

Check however a resource like this one: http://stackoverflow.com/questions/5748600/making-multi-language-ios-app

folletto avatar Sep 04 '11 12:09 folletto

Thank you for your answers. Folleto, I'm checking your link, but I'm not programmer and it seems really difficult for me to understand what I should do :(. The perfect solution for me could be to have 3 books inside one app, each one in its own folder, and opening the correct one depending on the device language, but as far as I know, it is no possible, isn't it?

albertoMartinsen avatar Sep 06 '11 14:09 albertoMartinsen

Well, multi-language support isn't much different from what you describe, but right now I didn't dig into it so I can't tell you if it's easily possible and how.

folletto avatar Sep 06 '11 14:09 folletto

http://developer.apple.com/library/ios/#documentation/MacOSX/Conceptual/BPInternational/Articles/LocalizingInterfaces.html#//apple_ref/doc/uid/20002138-BBCBFFDF

Here they talk about .nib and .lproj files, but I don't find any of them in Baker, and inside Xcode 4, in the main project info tab, I can see "Localizations", and several languages, and all say "0 files localized". I add Spanish, but I don't know how to add localized files :(.

albertoMartinsen avatar Sep 06 '11 14:09 albertoMartinsen

It might be as easy as adding the two localization folders and put inside each one the "book/" folder: http://www.raywenderlich.com/2876/how-to-localize-an-iphone-app-tutorial

But I can't confirm right now, I need some time to test it. :)

folletto avatar Sep 06 '11 14:09 folletto

I tried to do the following steps: -Within Xcode, create a "Localizable.strings" file and save it inside "Resources" folder, with the default content. -Click to show the "Utilities" right panel, and add spanish language. -Within Finder, I create a folder called "book" inside "es.lproj" folder, and copy there all the spanish related files, leaving the english version in the main book folder (if not, Xcode says "No such file or directory" error). -Then, I launch iPad simulator and change the language within it. -And then, I clean and run the scheme, but only the main english version loads :(. I tried also restoring iPad simulator, to be sure it loads a fresh copy of the app.

Maybe I'm doing something wrong or I'm missing some step or do I need to put "Localizable.strings" elsewhere...

Thanks for your help

albertoMartinsen avatar Sep 07 '11 12:09 albertoMartinsen

Yeah, sorry, but I can't help more than this right now. We'll track this as a feature and we'll add it in a future version. :|

folletto avatar Sep 07 '11 12:09 folletto

Ok ok, I understand. Many thanks for your help anyway!

albertoMartinsen avatar Sep 07 '11 12:09 albertoMartinsen

However we asked for support on Twitter, if we have news we'll write here. Also, we'll write here when we are able to get on that part of the project, so you'll be updated either way. :)

folletto avatar Sep 07 '11 12:09 folletto

My be it can be done by a Javascript.

nelsonliu3830 avatar Nov 15 '11 10:11 nelsonliu3830

have anyone new ideas about languages?

I have tested the localization with xcode but I get an error about MULTIPLE FOLDER "book" -> one inside de.lproj and in en.lproj

webschnecke avatar Feb 23 '12 15:02 webschnecke

This is just an idea but you could take a look to https://github.com/nin9creative/baker. That provides a shelf for magazines, you can use the shelf to put different books in different languages... Sure it wouldn't be perfect because the user has to decide which to download and then download it but better than anything :)

morands avatar Feb 28 '12 23:02 morands

@morands It's still in development, and it will be merged into Baker when it's ready. :)

folletto avatar Feb 28 '12 23:02 folletto

@folletto Oh cool! Sorry :)

morands avatar Feb 29 '12 06:02 morands

Any one managed to implement multi languages yet?

Any ideas about pointing the user to a specific folder ie: en.lpro or fr.lpro?

eg: Cover page would have a language select option and the user would select their language and be directed to that specific version of the book.

ShaunStilwell avatar Sep 28 '12 13:09 ShaunStilwell

With that approach, you can have a cover page that then downloads the book in the right language. :)

folletto avatar Sep 28 '12 13:09 folletto

Issue it needs to be a stand alone app and not integrated with the newsstand. I have looked at the https://github.com/nin9creative/baker, bakershelf-newsstandkit branch which works as you have suggested but still in integrated with the newsstand.

There has been an app approved that works as I would like it http://itunes.apple.com/app/the-canny-outlaw/id538273615, just not sure how they achieved it.

ShaunStilwell avatar Sep 28 '12 13:09 ShaunStilwell

I'll expand:

  1. Take the current version of Baker
  2. Create one book per language, using the hpub format and zip it accordingly (see the wiki at the top for more info)
  3. Create a "book" made with just one page, that page will have two book:// links pointing at the two languages hpub files you previously uploaded on your server.

Done. :)

folletto avatar Sep 28 '12 14:09 folletto

Right so I have the books in the correct languages, so I all I need to is create a new book ie: splash screen with the book:// links pointing to the correct versions. This will be submitted to the App Store?

If that works you're a legend!

ShaunStilwell avatar Sep 28 '12 14:09 ShaunStilwell