So what I did is build something called the in-app language switcher. And so basically for a debug builder or app there's a preferences pane you can tap on it and then it gives you a list of all the languages that we have and allows you to just tap on one https://casinoslots-ie.com/entropay. And it essentially restarts the app or restarts.
It doesn't restart execution of the app, it kind of restarts the user session. And I think it will make sense when you look at a screen movie that we are going to do here. I prepared this movie. I'm gonna be like Tim Cook at Apple or Steve Jobs, like: "I prepared this movie for you. I'd love to show it to you if you'd like. Would you like to see it?". Yes, okay very good. This is going to get an Emmy award I think at some point. So here you are running around in the application and it's in English and everything is delightful. The world is wonderful. Now we go to the more menu and that's where you put all these extra things and then we go to the localization debug. And we can then say: choose English from your start with Arabic. So pay attention to you notice that now everything is laid out right to left. And we've gone and refetched the entire home screen that's called "the lolomo for lists of movies". And you can see the display page for the same title all laid out crisply in Arabic. And the order of buttons goes in the different direction. And everything is good. When you're using this you have to remember the position of the debug menu. Otherwise you get completely lost. So I've kind of muscle memory to be able to "Help! Get me out of here!". And so we can switch to another language like Japanese. And you switch that. And that is JA like Japanese, not "ya" for German. And you see now everything's bringing you back. And again the metadata so the row titles, the artwork everything now in Japanese and you can exactly see how things are working. And let's see where should we go next. Let's travel along and go to... oh I don't know. I'm gonna pretend I'm doing this live. Let's go to Thailand. So switch to Thai or TH. And again now here you can see especially if you look in the bottom on the tab bar how wide that is and how tall it is. That took a lot of effort to be able to make these tab bar items fit properly. The Thai really was a... it was a bit of a challenge. But everything seemed to have worked out in the end. Our heroes made it work. And they were richly rewarded by... Oh wait, no we weren't taken to Thailand. All we did is get to keep our jobs. Alright so now we're going to switch back to English. And again one thing also you might notice as we scroll that want you to pay attention to something that we'll be talking about a little bit later. Alright so in the back of your mind you're thinking: "Well that's kind of cool. I'm wondering can I do this too?". And the answer is "da" or yes, you can. Sounding like Obama now: "Yes, you can". So it actually... I have to talk a little bit about some of the differences between how localization works on iOS versus Android. So does anybody develop on Android as well? Yeah, okay. So you know normally I would say that I'm not terribly jealous of my colleagues who work on Android.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2019
Categories |