Placeholder Image

字幕表 動画を再生する

  • thing.

  • Awesome.

  • Hi, everyone.

  • And welcome to the talk.

  • If you're if you're feeling sad that my voice is broken, uh, you have a gentleman to tank that for, So I do not regret that.

  • Uh, but hi.

  • And welcome to the talk.

  • I I'm withdrawal I and plan to work.

  • I work on No, Jess.

  • And a lot of stuff, as I told you.

  • But talking about internationalization today, I'm sorry I just early was not not in the right kind of boot, but so because I have to make this about myself first, uh, I work on new togs.

  • Uh, all solectron, Uh, and I contribute to different projects in the JavaScript ecosystem.

  • Now, that includes V eight and best 262 That's how I'm barely qualified enough to talk about this subject.

  • Uh, because I were done.

  • Some of the stuff, Dad, uh, relates to this right.

  • And also live beauty and related things in the ecosystem.

  • I'm a student.

  • As they pointed out, I been working with Google Summer of Code for the past couple of years, and I'm speaking This is not for you.

  • This is for me to reassure myself all the time.

  • times like you got this.

  • But so yeah, I about the talk, actually.

  • So we need to talk.

  • Ah, so we know how this works, right?

  • A couple of months ago, I I submit a CFB proposal for something that I want to work on.

  • Eso.

  • A lot of months ago, I was working on these things.

  • It was like, Oh, it was so amazing to Dr People about.

  • And I I need a C f B proposal for this and I start working on the talk and I realized that I will be talking at the awesome at just gone.

  • Fraser Thio, you're some people about this subject and a super stoked One of my friends in Russia set up a meet a group like to do for me to test this talk out.

  • I went to the media group.

  • Amazing young, daunted software engineers sitting down.

  • Listen to this guy about internationalization, and I completely tanked the presentation like it's it was so terrible that I like I got chilled.

  • Still, I'm getting flashbacks, so I thought maybe I could like of course, you're not as critical or savages the like Russians.

  • They were like, Oh, no, but I thought I had the courage to come up to the stage and talk to you guys about that presentation.

  • I think I do not, Uh, so let's skip it.

  • It's It's super boring anyway, So, yeah, a lot of stuff I had when?

  • But oh, we have atmosphere proposals, Right?

  • Who cares?

  • So, yeah, you ever done?

  • I skipped the entire presentation like, three minutes.

  • So yeah, I don't want to bore you.

  • Actually, now that we have a bunch of time and I'm a speaker and I've got your years, let's talk about something else.

  • Something that we all care about.

  • Oh, if anybody's like even borderline said that that I You did not get to hear about what you came here for.

  • Let me tell you about a cool website that I found on the Internet.

  • It's It's super amazing.

  • You can get so the deal.

  • How this works is you can just go to a website and you'll get my entire talk.

  • It's called Indian, so yeah, that that was that was the original top U.

  • S O.

  • If you scan this cure, you are code.

  • You go directly to the internationalization page.

  • Uh, I'm sorry I cannot like, calm a pair and talk to your people about like the nitty gritty of the A P I.

  • You just hate me for that.

  • Uh, so yet go there and this will drop it directly to the intel.

  • Pidge.

  • Let's talk about something else.

  • Let's forget about the talk.

  • It was boring and pretty much useless.

  • Let's talk about software development.

  • Right is I hope everybody.

  • It's okay with that.

  • And let's talk about soft development because suffers hard, right?

  • I mean, so let's get this straight.

  • Like you all spent, like at least three important days of your life and pretty much like most probably a lot of money.

  • Ah, $1000 stick it just gone fright.

  • And, like, travel all that stuff to listen to a bunch of nerds talking about nerdy stuff like Why?

  • Why would he do that?

  • Right?

  • You could spend that time doing nice things.

  • You did that because software is hard.

  • It's really hard to do software and you want to, like, do it better do it more efficiently.

  • You know what else is hard currencies?

  • So So I mean, one of the things that I do is I asked engineers to do when Then you go back to your company, find the guy who works with, find the guy of the Persian workingman currencies and payments and hugged them like, really, they're miserable because currency is our heart.

  • And if you think oranges are hard like me, the reason for that might not be that you're as bad off the developers I am, because currencies are hard for everyone, like the people who you look up to, like all the damn time, screw up with currencies all the damn time.

  • So they would be Google's, like zero United States dollars.

  • Some arbitrary amount of heroes with my three euros or it's it sucks when you read your undefined civic type R of the How do I pay you, like not a number dollars right?

  • Or when you get a leap lately because you do not know how to play like this to your dollars?

  • Oh, our Bethesda like a that that's an awesome T shirt.

  • I definitely pay that much for that.

  • Yeah, and what Spotify like You don't expect smart if I do this like do I pay in Pont du I pay in dollars?

  • Do I pay neither of those.

  • And also, like, obviously the almighty euro dollar.

  • So it's euro is dollar.

  • It's your other euro.

  • The next time the help I and you know you know, this this is like, if you if you work on product stuff, if you work in design, this is these are the critical, like microseconds, right?

  • These are the critical microseconds.

  • We have already converted to use their waiting to make that payment.

  • And he uses basically like, shut up and take my money.

  • Like just this is the body with very do not screw up, right?

  • Everything else you got a free pass, but like, do not through our payments because, like you finally convinced them to pay you.

  • That's amazing, right?

  • Some people kind of get it, though.

  • I mean, like, uh, like a lot of things about some of the Google Web sites for jump.

  • When I was giving this talk in Russia, uh, like I already tank the top talk, and they were deporting me.

  • Uh uh.

  • But they detected that that I was in Russia and that I'd probably used roubles.

  • Do go.

  • And so they deported me.

  • Tow the next light.

  • Mr.

  • Latvia So I ended up being in Latvia and I took over.

  • Go back over somehow.

  • So and then they detected I I had to use euros and then coming hair from home.

  • I n r you go there, you can go there right now.

  • It probably attack.

  • You're in Singapore and just show you all the things.

  • An SUV.

  • And that's Grady's experience.

  • Right?

  • So So how is this done?

  • Like like get me through this.

  • It's easy so that no hard rules, really straightforward.

  • So in the in the English speaking world, it's fairly easy, right?

  • So we use this is as God intended it debate.

  • We have the decimal point when it needs to be had the Kama separators dollars bounds and euros of your island.

  • Uh, but but things as soon as you move out of the English speaking, worked in stock to get complicated so you can have like, yeah, yeah, you're I get that like, but why that that defies mathematics.

  • That's not like a valid number.

  • That's why would you do that?

  • It was like Europeans like, Oh, it's okay.

  • Like so many people live in Europe and, like, have some contacts about this It's like it's fair to assume like 80% of the people in the world would probably have some idea about this format.

  • So it's like it's still dead if you're good with this one.

  • And LA Julian's So Latin's used to use a space for, like, the the limitation on Like what it's like.

  • That's not what do you use basis for, but okay, at least they're not using stabs so and then it's like, Is that a fraction?

  • Like what I do?

  • I have to do Matt every time.

  • Like all right.

  • At first, the Japanese rob dropped the fraction because there's no fraction, but like so So an Indonesian people, right in the Indonesian people in the audience.

  • Good.

  • Like right.

  • We need to talk.

  • So what the hell is this?

  • What the hell is this?

  • Because that that is totally 1.235 I'm gonna come up to you, and I gotta pay 1.235 Not it starts going reaching levels off like confusing mess.

  • But it's like I'm not even joking anymore.

  • Right?

  • So the Swiss franc using the apostrophe, it is not a valid number, but it's a valid strain guys.

  • And so this is interesting.

  • If you're Canadian, you should, like, reconsider life choices because so I'm not shitting you when I say if you're in Canada, if the person like the format in which you write the currency depends on which language the person is speaking in, so you ride that.

  • If they're speaking English, you write this.

  • If they're speaking French, it's like out.

  • How do you do to remind that's like, Do do their tag.

  • It's like it's it's French and then people like a sumo.

  • They're they're probably not a smart but but yeah, it doesn't have to be that way.

  • So let's talk about the most important thing.

  • Life.

  • Let's talk about anxiety.

  • That anxiety is what I feel when I'm working multiple currencies, and it doesn't have to be that way.

  • Let's fix this.

  • So we did, uh, if you go to your browser.

  • If you go to your friend friendly browser right now or no, Jess, and try this a b I.

  • So you go currency, you go Canadian dollars Boom English.

  • You got that French.

  • You got that and it's like it.

  • That's just one currency in two languages.

  • You can.

  • You can try that with all combinations.

  • It just works.

  • It takes out, like so you can have variables for the currency and for the language.

  • And then, like, you can take the guesswork out of the bringing.

  • You can just do not use a static strength, just like number.

  • Format your currencies.

  • And so I'm sorry.

  • Right foot for what I'm going to say next.

  • But I have bad news.

  • It's like I hate to be the bearer of bad news, but it's not just currencies that are hard, right?

  • Internationalization is art.

  • It's really damn hard.

  • So so, actually, oh, uh, this is that way.

  • We have a small problem.

  • Uh, so I was trying to talk about a lot of other things, actually, just one next thing.

  • But the problem about this is I cannot, I think, uh, because, like, AA, lot of you are not as smart as me and do not know as much, Matt.

  • So I think we need to, like, revisit some of the fundamentals If I want to want you to be at the same level of thinking as me.

  • I am, Of course.

  • So let's let's take a couple of minutes to revisit the fundamentals, if that's okay.

  • Yeah.

  • First class of kindergarten counting.

  • So?

  • So let's let's start counting.

  • And you'll love cats, right?

  • So So let's count cats.

  • So you're one ghat.

  • You're six cats and you have 0.7 cats.

  • No, don't ask me how that works.

  • Maybe maybe you have, like, nine roommates and seven cats between all of you.

  • But like, yeah, so but like if you, uh, see the bad in here, English has like two.

  • When it comes to polarization, English is like do things, which is one not one, which is, like, pretty simple.

  • It's like it's either one or not one like it might be a fraction.

  • It might be like non one number, but it's not one and globalization is easy.

  • Life is good.

  • Ah, let's actually let's let's move on to a different breed of cats Velshi cats and counting Welsh cats gives Europa.

  • Todd, you're one gap 1.5 gap.

  • If do gap you three gaps.

  • You're six shop, you're 40 do cat.

  • So polarization is easy in English and that's just that's just a second language that just vouch and feels like so do super duper close to England, right?

  • It's like, how do you fuck that up?

  • But, uh, you go to like countries across the Arab because, like, four through reforms and like languages of like, floor forms.

  • So English has, like, one and other and other languages that few and many and like, how do you determine that?

  • It's like it's so hard to figure this stuff out, but it doesn't have to be.

  • So you have a plural rules A B I for stuff like this.

  • So you can you can tell it, okay, English us like we've jerking, but, uh, be artist like zero, it will throw up other Europe on five.

  • Other one is one and everything else is other.

  • You can just use this underlying low level A p i to determine what a Druid rule you need.

  • Two years And you could, uh, I'm gonna show a bunch of court next.

  • Please, not bother with, like trying to read all of that.

  • It's like just just trying to demonstrate.

  • Make a point.

  • You'll get the code later on.

  • But you can use this underlying FBI if you notice to spin up a quick script to, like format your sentence, right?

  • So English and that change it slightly to make it work for Welsh.

  • And this is this is amazing.

  • FBI.

  • You can use it for Ordina.

  • Lt's so you got zero at 1st 2nd 3rd 4th left 11 and 21st 42nd 103rd in any language that you want So these examples that I showed you, I I'm not smart enough to write them.

  • But the amazing people at V eight are on.

  • They have, like a huge block post op.

  • It explains the A ll the feature in detail.

  • It's amazing You can also find the card They just Scandic you are Quote if you want to just follow Sling.

  • But yeah, that's that's that Abia.

  • So like let's let's talk about not ever You're talking about stuff.

  • I have an observation, right?

  • Everybody loves relative time expressions like you did not want to know that your drivers for 42 seconds away, but like the other observation I have is nobody really knows how to do it and everybody tries to do it.

  • I mean, like, I'm just playing a video games Like what?

  • What is that number would respond this year.

  • I just want a place years ago.

  • What, And even apples?

  • Why is that so specific?

  • It's like What's gonna have is that Is that like the next eclipse or something?

  • But But you don't have to like you don't have to be like super smart to do it anymore because we also have an FBI for that.

  • So relative time formatting it's got rid of time format.

  • Numeric auto is like the format, but you wanted to be in.

  • You can do it short, narrow, whatever.

  • And minus one day is yesterday.

  • Zero day is today.

  • One day is tomorrow minus one week is last week zero we is this week.

  • One week is next week.

  • That's so cool right now you can do this.

  • You could already do this like this is is not that hard to do?

  • You'd be thinking, but I live up to your imagination how hard it is to do in multiple languages.

  • If you want to support like 15 languages, you're not gonna do it all.

  • You're on your own and you have not been.

  • People have been trying to do this kind of stuff.

  • Rudge of time formatting, especially on the Internet, for like all the time, and you probably do it as well.

  • You might use something like moment or globalize.

  • What are the evidence for that now?

  • There's a problem with this, and my segment of that is gonna be this right?

  • So I'm sorry, but Lori, who you might find Brown is like reacting the browser carpets.

  • It's like it's a joke.

  • We get it.

  • But then if you think about it while he's on to something, right, I mean, like, how many off you are friend of operas, By the way People who do front and stuff, that's quite a few.

  • I cannot say anybody, but that's quite a few people.

  • Yes, Uh, and the, uh, so bill react in the browser you covet.

  • And so you are making front and websites, and the thing is that you like pretty much every modern front and website like uses some sort off decent dome, FBI, right, use react or something.

  • And it's like, Why don't you just standardize that That will shave off your bundle sizes.

  • That would also like to make a standard FBI than people that people can just build upon and then and people are doing that people are expanding the platform were ritual dom coming to the standards.

  • That's who like talking about these kind of things.

  • Let's talk about sizes and like it.

  • This is completely safe for work.

  • But, uh, so react react by the way, I did not want to be controversial about this.

  • Please do not separate me.

  • I have no idea what these words even mean.

  • Like I I just white c++ Please leave me alone.

  • Twitter.

  • But this just data but like because people come up to me is like, Oh, Jack, isn't that supposed to be half the size of Rick?

  • I do not know.

  • You tell me, but but react is six like it's 107 kilobytes.

  • Uh, if you you react in itself is a package that has a huge non Lord.

  • It's like around 60 Gaby.

  • But then people come up to me is like it's not what it adds to the bundle is just what he don't like.

  • Fair enough.

  • So it just had 615 kilobytes to the bundle while pre actives nine kilobytes.

  • Now that's basically cheating, because if you also had react on that basically ads like one of the four kilobytes, which is like, uh, but But let's not dwell into that again.

  • But so so comparing the magnitude you add in view and it's like it's 63.5 kilobytes.

  • If you just see the in bundles eyes and then oh, Aniela and that that's just angle a slash core.

  • So So you need a bunch of other angle the models as well to make Angela website.

  • Let's compare that to the seal.

  • The our data.

  • We gotta talk about this because so that's over six megabytes for dates, you need numbers to work with date.

  • So that's 4.3 megabytes.

  • Another one and like there's a huge like Celia were also data that you need.

  • And then there's like, obviously you need something to play this data with.

  • You need a Js library for that another.

  • But these are so abysmally small compared to the that like, let's not even talk about that right?

  • But that data is locked.

  • Imagine having this is so I tried to like include the bundle size, which is the same because this is Jason, you country.

  • She ate that right.

  • You need all the data you need that you can just drop languages, but so so if you like, have to compile all the data and push that video bundle that's like already 11 meta bodies.

  • If you have a manager even somewhat like the managers I've seen, it's a nonstarter, like 11 megabytes.

  • No way but hips the blood of time for Maria Pia.

  • You know how bunch the middle size and this one is Zero because it's built in their browser.

  • And And you can you go for narrow 3/4 1 day and you can go for Spanish, which is so cool a lot of in or this doesn't make any sense or Chinese, and this will write.

  • You can just use thes does, too.

  • Check out what yesterday and today is tomorrow is I pretty much wrote a script just to know what these words are in different languages.

  • I have nothing to do.

  • Uh, and so it's like, What about comparing strings?

  • By the way, Yeah, you have no later for that because for some reason, the Germans deal that the David accents completely different from the Swedish.

  • It's like right across the border, like get this sorted out right?

  • It's just but yeah, you if you want to compare strings if you want to sort strings or third strings but you have to do like, so many damn time.

  • Ah, you can use this for that.

  • It's low kill specific and people People come up to me when I talk about this a p I and they were like, Oh, imagine the possibilities VF So this date time for matting list formatting like again, these old things were despite whichever language you're working on this segmenting so you can generate over sentences, paragraphs, whatever you don't have to, like do don't split, period because, like that only works so so far, right?

  • And and it's all a part of that muff.

  • Or do please come help out.

  • Now I think I can mirror my display on this one.

  • Oh, maybe, uh, but okay, if ah, you go.

  • Can I use for internationalization?

  • It's bringing all over the boat like most of the internationalization features you can use in your applications right now, if you see the desk to six to report on the internationalization FBI desk.

  • This was the Davy.

  • The people put up this website, remove shop chakra for all right.

  • Be and, uh, if you if you see the internationalization FBI, it started off with around 57% coverage with V eight going 71.

  • Yeah, inspite a monkey.

  • 50% jobless report 48%.

  • Okay, uh, and if you see that today, the numbers have improved.

  • Right?

  • So as of yesterday, actually, we didn't build it today yet.

  • Uh, remove more little excess.

  • Also, we don't care about it.

  • It's reached 61% N V a visiting 86% and Spider monkeys improved to 54 JavaScript courses at 44.

  • But like things are improving, things are getting better.

  • The deaths, like the number of tests, increase between that time.

  • So it's like even if somebody stayed at the same number, the added some features.

  • That's a view is like technically, if you look at it, it is pretty much 100% covered.

  • Ah, lot of this comes from like features landing in V eight right now.

  • Plus, like one FBI which is viewed breaking Rada, which we have like handle differently, was like, Yeah, if you're using no jazz, if you're using it, views as use chrome, which I think they do.

  • I mean the numbers that and, uh, you can, uh, or any chromium based browser for that matter.

  • You can be perfectly.

  • Show that this will, like, just work, Right?

  • So please use internationalization a PS.

  • Singapore is the only big G s con city that I can go to and be like four languages.

  • You know how bad it is, right?

  • And people like, Yes, because, like, just gunning for you, ask people would be like, Oh, yeah, I just use English.

  • That's not the point.

  • But yes, uh, is okay, uh, just a second.

  • So yeah.

  • Thank you for that stuff and back to this.

  • Actually, I also understand a bunch off awesome people before I leave.

  • So there's Satya works on we ate.

  • Thank you for all your work on internationalization.

  • And thank you also for, like, helping me out.

  • Working on internationalization so much.

  • You're amazing.

  • Thanks so much.

  • Yes, for helping with this talk so much.

  • You're the best thanks for Rick at 80.

  • 39 for for helping me through all my word with this deaths and all this stuff.

  • Thank you, Steven.

  • For, like, literally be the only person at no Jess, who keeps operating I see you.

  • I hope, uh, I can help him.

  • Or in the next few days, Thank you to the awesome people work on we aid, uh, me excluded, obviously.

  • And thank you to the D C 39 committee and thank you to the organizer's.

  • You're amazing people.

  • Thank you.

  • And I'd like to thank you all old so far.

  • Oh, I'd like to thank you all for attending this talk and Yeah, see you our own.

  • And if you have any questions, feel free to hit me up.

  • That's what I am.

  • Yeah.

thing.

字幕と単語

ワンタップで英和辞典検索 単語をクリックすると、意味が表示されます

A2 初級

その他の*仕様。JavaScriptの国際化(Ujjjwal Sharma)|JSConf.Asia 2019 (The *Other* Spec: Internationalization in JavaScript by Ujjwal Sharma | JSConf.Asia 2019)

  • 1 0
    林宜悉 に公開 2021 年 01 月 14 日
動画の中の単語