Podcast Search

Developing Perspective

#63: Side Projects and Internationalization

Select a time to play from there. The line being spoken is highlighted as the audio plays.

0:00:00Hello and welcome to Developing Perspective. Developing Perspective is a podcast discussing

0:00:04news of note in iOS development, Apple, and the like. I'm your host, David Smith. I'm

0:00:09an independent iOS developer based in Herne, Virginia. This is show number 63, and today

0:00:13is Thursday, July 12th. Developing Perspective is never longer than 15 minutes, so let's

0:00:18get started. First, a couple of more minor notes. First, I just wanted to let you know

0:00:23that there's now a new little Satch page. It's not linked anywhere on the page on the

0:00:27the site because it's not something that I sort of--it's not private, but it's not something

0:00:32that I want to sort of just want, you know, showing up in Google indexes and things. So

0:00:35it's not linked anywhere. But if you go to developingperspective.com/stats.html, you

0:00:40can get a little stats page about download stats. Mostly, I just did something I did

0:00:44for myself, but I figure if any of you out there are kind of like me and just sort of

0:00:49love numbers and just kind of seeing and knowing kind of, "Oh, what's--you know, okay, so this

0:00:53guy has a podcast, kind of, you know, how many people does it reach and so on." You

0:00:56know, it's up there. By all means check it out, take a look. And, you know, anyway, I

0:01:01figured I'd share. Like I said, it's not like, it's not private, but it's not public either,

0:01:06I guess. It's like protected in Java per lens. Anyway, also, there's a link I'll have in

0:01:15the show notes that there's a great list of iOS and Mac development podcasts that was

0:01:20put together by Rob Bazinet. Hopefully I'm saying that right. And it includes my, you

0:01:25know, this podcast, which obviously if you're listening to, you already know and enjoy hopefully.

0:01:30But there's another couple of other really great ones. Core Intuition, I listen to every

0:01:34week. Build and Analyze, I listen to every week. And there's a couple that I've been

0:01:38wanting to get into or started getting into. NS Brief by Sol Mora. Sol Mora looks pretty

0:01:44good. And there's Edge Cases. I tried the first episode, which is a really technical

0:01:51podcast with Andrew Pontius and Wolf Resnick, and it's great and super detailed, but I found

0:02:01it kind of intractable.

0:02:02Not in the way like hypercritical, like John Siracuse's podcast is intractable, where it's

0:02:06just really deep, but I found it really hard to ... It's almost like I need to lock myself

0:02:10in a dark room with a big piece of paper and just kind of be transcribing it to keep track

0:02:15of what's going on.

0:02:16So it was a little difficult, but anyway, it's a great sort of collection, highly recommended,

0:02:19And it's a little self-serving obviously because I'm on the list and he says nice things about

0:02:22me, but I figured I'd share it because I was just, you know, if you like this one, you'll

0:02:27probably like the rest of the things on that list.

0:02:29All right, so now onto the sort of actual topics for today.

0:02:34And really I have two different topics that I'm going to talk about.

0:02:37And the first is something that I've recently been doing, which is sort of, I guess you

0:02:42could put it as the importance of side projects and the importance of letting yourself kind

0:02:48of wander around and do interesting things and experiment with new technology and be

0:02:52well-rounded. And so, you know, this recently I've been doing is, I'm not sure if you're

0:02:58familiar with Sam Sofs and his Cheddar app, you know, he just recently opened an API for

0:03:03that, which is a task management app. It's a beautiful little thing for super high performance,

0:03:08simple task management, to-do list, lots of the, you know, it's a--I love--I know Sam,

0:03:14he's a friend and I really like what he's doing. It's a really interesting business

0:03:18model where it's a free app with in-app purchase for more lists and things, which all that

0:03:24stuff's great. What I'm actually interested in talking about is what I did is when I saw

0:03:30that he opened up his developer API, so you can add, create, manage your list. You can

0:03:34essentially replace his application, and for him that works great because he makes all

0:03:38of his money from subscriptions and in-app purchase, not from the actual app itself.

0:03:43so he has something to lose in that way.

0:03:46But as soon as I saw that, I was like, yes, I'm

0:03:49going to do that as a side project.

0:03:51I'm going to take a couple days, stick a pin in what I'm working on

0:03:54for my main bread and butter apps, and just, I'm

0:03:56going to make something for that.

0:03:57I want to play with that.

0:03:58I want to learn something new.

0:04:01And it's a pattern that I've done many times over the course of--

0:04:05the course of my development.

0:04:06And I've made these-- I have a lot of applications.

0:04:08I have an application that all it does is generate

0:04:13plain wallpapers for the iPhone or iPad, which I can have a link in the show notes for.

0:04:18But basically, it's super simple. It's just a collection of colors. You hit it, you say,

0:04:23"I want a black wallpaper. I want a gray wallpaper. I want whatever color you want."

0:04:27But that's just something that I made over the course of a couple of days. It was just an idea

0:04:33I had. I got frustrated when I got... This was, I think, oh, gosh, it must have been iOS 4, I think,

0:04:38when they switched from the black wallpaper to the... You could have a colorful wallpaper.

0:04:43And I just like-- I mean, for me, actually, I do--

0:04:45Daring Fireball Gray is my-- which

0:04:48is one of the defaults in the app.

0:04:50But for me, it was about-- I wanted

0:04:54an app that could do that.

0:04:55And my wife, Lauren, she wanted a pink wallpaper.

0:04:58So I was like, great, I'll write that app.

0:05:00And then for this one, it's like, OK, I

0:05:02want to make an app for this.

0:05:03And so off I go, and I'm making an app that is designed just

0:05:06for quick capture, so for kind of brain

0:05:08dumping all your tasks and to-dos into Cheddar, which

0:05:11which is great. The actual details of what that is doesn't really matter so much. The

0:05:16goal and sort of the point of why I'm bringing this up is I found that as a developer, especially

0:05:22as an independent developer whose time is so kind of back and forth and for someone

0:05:28who you end up just being so pigeon-holed working on the same project over and over

0:05:33and over and over again, you know, up to version five on audiobooks and I think four on my

0:05:38recipe book. You know, it's like I, my life is just constantly iterating and perfecting

0:05:43and pruning and, you know, making those things as good as I can. It gets very monotonous.

0:05:48So I find this great pattern of being able to go in and just work on a side project.

0:05:55It doesn't have to make money. It, you know, I'll put them in the store and, you know,

0:05:59like I think, you know, my plain wallpapers app is maybe, you know, I have a few hundred

0:06:02people who have bought it and that's great. But, you know, it, the purpose is that I've

0:06:07learn new skills. And it's almost like starting from first principles.

0:06:11Is that maybe even a better term for it? Where any existing application tends to have a body

0:06:18of code that you're kind of maintaining, and you have this weight that you're kind of -- you

0:06:24don't want to go away from, that you don't want to mess with and break, and who knows

0:06:29what's going to happen. And so you tend to be -- you're kind of working around the cruft,

0:06:35Maybe there's a better way to put it.

0:06:37And so what I love doing is there's something liberating

0:06:39about going into Xcode, a file new project, and just starting

0:06:43from a blank canvas and learning from your own

0:06:45mistakes, so using your best practices over and over and

0:06:48over again to make a better and better app.

0:06:52And I find that I can learn things and play with things and

0:06:55experiment with new frameworks, new APIs, things

0:06:58that are just difficult to do otherwise in a big monolithic

0:07:03application. And it's great to just be able to take those and just play with them.

0:07:08You know, it's like this app will be, I don't know, probably iOS 5 as its base requirement.

0:07:12I could, in theory, require iOS 6, but it's not going to be out for a couple of months.

0:07:15That's kind of lame. You know, so it'll be, you know, require iOS 5. I could probably

0:07:19require iOS 5.1 or 1.1 if I really wanted. But, you know, it was really great to just

0:07:26be playing with it. It's like, okay, what APIs? What new things can I work with and

0:07:29play with, what libraries that--

0:07:31open source libraries that I've been thinking about or seen,

0:07:34can you incorporate into it and use it as a playground.

0:07:38And I found that it's really--

0:07:41there's just something valuable in that.

0:07:43And so I just mentioned it as an encouragement

0:07:45to other developers that having little side projects

0:07:48is just awesome.

0:07:50And it is really helpful in helping

0:07:52you be a better developer by--

0:07:54it reminds me a little bit of almost like those Japanese Zen

0:07:57gardens where you have the sand and you kind of rake it.

0:08:01And part of the goal--

0:08:03once you build something, is that you then smooth it back

0:08:06out and you build it again.

0:08:09There's an impermanence to it.

0:08:11And in software, it's so hard to have that start again

0:08:14experience where you just start from a blank canvas and

0:08:17can take all the mistakes you've made and correct them

0:08:21and build an application as you would like it to be.

0:08:25And that just seems like a really good-- almost like a pattern or a practice

0:08:30to get into.

0:08:31That sort of start from a blank canvas, see, OK, what is in my mind right now

0:08:35best practice?

0:08:35How would I build this?

0:08:36How would I structure it?

0:08:37What would I do?

0:08:38What mistakes have I made in the past that I want to avoid in structuring this?

0:08:41And I found that to just work awesomely for me.

0:08:45So anyway, that's kind of the first thing.

0:08:47And I just-- just definitely give it a go.

0:08:50Work on some side projects and see where that goes.

0:08:54It doesn't have to be financially interesting.

0:08:56It just has to be interesting for you.

0:08:59And so the next topic, and the second topic

0:09:01I'm going to talk about today, is

0:09:03I got a question from Paul Donahue, who

0:09:06was asking about internationalization

0:09:10in applications.

0:09:11And it's something that he was thinking

0:09:12about for his application.

0:09:13And he just asked, what do I think about it?

0:09:14And internationalization is kind of like continuous integration,

0:09:19where it's this thing that I think in my mind,

0:09:21oh, I should be doing that, but I never have,

0:09:25that I think that would be awesome.

0:09:27I wish my apps were in 27 different languages,

0:09:29and I could be making a lot more money because they'd

0:09:31sell better in all different places.

0:09:34And I've just never done it.

0:09:35And so I started thinking, why haven't I done this?

0:09:38It's like the same thing with continuous integration.

0:09:40In theory, it's great, but I've just never done it.

0:09:43And I think I can certainly blame obvious things like,

0:09:45oh, I'm just an independent developer.

0:09:48I don't have the resources to manage that process, which

0:09:50Which is a total cop-out.

0:09:53That is not at all true, and it's not even reasonable.

0:09:56It's more just a question of it's not something

0:09:58that I've prioritized.

0:10:01But I think I will.

0:10:03I think it's one of those things that I'm saying--

0:10:05I'm saying it on the show, because then you

0:10:07can sort of-- I have an audience to keep me slightly

0:10:10accountable to.

0:10:10But I think it's one of those things

0:10:12that I really need to do for my apps is at least try it.

0:10:15Go through one of these services.

0:10:17There's a bunch of them.

0:10:18I think iLocalize and Tetris, there's all kinds of different services.

0:10:24And if you have experiences with any of them, or you work for an internationalization company

0:10:29and want to show me the ropes, then that would be awesome.

0:10:34But I want to just give it a go and try, because for all I know,

0:10:39it's like there's that weird feeling of, "Is there 20% of my market that I'm not addressing

0:10:45because I haven't localized my application, even just

0:10:48to the extent of I haven't localized my app

0:10:50to store description.

0:10:51Sort of simple things like that that don't even

0:10:53require technical skill, that I'm just missing out on.

0:10:58And if I spend whatever the couple weeks of going

0:11:01through the process and localizing all the apps,

0:11:03that all of a sudden my sales would go up 20%.

0:11:06Because suddenly people in Germany and France and Japan

0:11:09and all over the world now can finally get my app,

0:11:12and they couldn't get it before.

0:11:14Maybe that's the case, maybe it's not, but I think it's definitely interesting.

0:11:18I mean, technically, Apple makes it ridiculously easy.

0:11:21And I think especially with the new Xcode, 4.5, I think it is.

0:11:26I'm not sure if it's Iowa 6 related, but I'm remembering stuff--

0:11:29sort of stuff I can't talk about, but stuff at WWDC they were talking about

0:11:33that really--

0:11:34they're spending a lot of time and doing a lot of work on the back end

0:11:37to make it really easy for us to develop internationalized, localized

0:11:42applications.

0:11:44And actually, that's probably a fair point, using the two

0:11:46words in a sentence.

0:11:47There is actually a difference between internationalization

0:11:50and localization.

0:11:52I used to work for a language learning company, and so I

0:11:55have a bit of that.

0:11:56Where localization is more about adapting the terms in

0:12:01your application to the local use, and then

0:12:04internationalization is typically translation.

0:12:07And typically, those things are often the same.

0:12:11there's a huge overlap in the Venn diagram between them.

0:12:14But there are also sometimes things where, as an example,

0:12:19the easiest example usually is to consider

0:12:22the difference between US English and British English,

0:12:25English English.

0:12:26And obviously, you're not changing

0:12:29the language between those two.

0:12:32And there are some translation that you do.

0:12:34So if you have color, C-O-L-O-R, in the United States,

0:12:37in England that may be C-O-L-O-U-R, which is sort of a translation.

0:12:42But there may also be localization.

0:12:44Say, for example, your app includes a reference

0:12:46to a sweater that may need to be changed to a jumper, which isn't really

0:12:50a translation because they're both English words.

0:12:53They both are valid in both places.

0:12:55But you're adapting the application and its terminology

0:12:59to be more appropriate and recognizable to a user.

0:13:01But it's a side topic.

0:13:03But anyway, so internationalization seems pretty straightforward

0:13:07In Xcode, it's one of those things that you just kind of--

0:13:10in general, you're just going to build

0:13:12this huge set of strings, which is basically just a big hash,

0:13:16that says this token means this in this language.

0:13:19This token should be replaced with this in this language.

0:13:21And you just build up this huge thing.

0:13:23All your nibs, all your--

0:13:25anywhere that you have a string literal in your application

0:13:28gets externalized.

0:13:29And you put it into these strings files.

0:13:31And then you just send these--

0:13:32typically what you'll do is you'll generate an English one,

0:13:35send it to a localization company who

0:13:37has translators who just go through and do a translation.

0:13:40And that's basically it.

0:13:42You then take that, plug it back into your application.

0:13:44And when the apps run in that language, all of a sudden,

0:13:48all these things will start working.

0:13:51It'll now be in German.

0:13:52It'll be in French.

0:13:53It'll be in Japanese.

0:13:55One fun thing with auto layout coming in iOS 6,

0:13:58a lot of the challenging part of localization,

0:14:00making sure your UI adapts correctly

0:14:02to German, the classic one with huge long words, a lot of that

0:14:06gets better with auto layout because you can kind of play with it a little bit.

0:14:09iOS is always tricky because you only have so much space. You only have 320 pixels wide,

0:14:14for example, on the iPhone. So there's only so much you can do.

0:14:16But anyway, I'm committing to try out internationalization. If I don't talk about it again in about a

0:14:24month from now, please beat me up on Twitter. But otherwise, I look forward to reporting

0:14:29back on how that goes.

0:14:30All right, that's it for today's show. As always, if you have questions, comments, concerns,

0:14:35hit me up on Twitter. I'm @_davidsmith. The Twitter feed for this show is @devperspective.

0:14:40And otherwise, have a good week, happy coding, and I will talk to you later. Bye.

0:14:44[BLANK_AUDIO]