Hey, we're gonna get started. How's everybody's Drupal con going? I know it's late in the afternoon.  I'm gonna start off with a couple of questions How many people are doing translation right now? In in Drupal in Drupal. Okay How many people need to do translation? That's why you're here kind of trying to figure it out. All right Okay, so next question Drupal 7 versus Drupal 8. Who's using Drupal 7? All right. Who's looking at doing Drupal 8? All right. Awesome So you guys are in the right spot First of all, let's start off with who I am. My name is John Pocosi. I'm the senior Drupal architect at Oomphank Which is a full-service web agency in Providence, Rhode Island We help companies with digital strategy user experience design and Drupal and WordPress implementations Some of our clients include Blue Cross Blue Shield Brown University Uyalla and Leica Geosystems, which is actually a translation client. A lot of our work revolves around complex implementations system integrations commerce multilingual and accessibility A little bit about me. I'm a co-organizer of the New England Drupal camp. I'm a co-podcaster on the Talking Drupal podcast and I'm a co-organizer of the Drupal Providence Meetup Nate's the other organizers in the front row So that's enough about me. Let's move on to what everybody came here to see, right? What are we doing today? Well The idea is we're gonna do a live demo. I know Crazy, but we're gonna do it and we're going to be building a Drupal 8 site with Translation first I'm going to start off with core translation so you can see what you kind of get out of the box And then we're going to add lingo tech for basic machine translation in order to do this in a relatively safe manner We're gonna be using a local environment built with composer With vagrant and virtual box running Drupal VM and Drupal 8.5 We're gonna be using a couple of modules the lingo tech module Which is required for this exercise so we can connect to their service and then a couple of helper modules The coffee module and the admin toolbar module if you're not using either of those modules I recommend you use go out and use them. They will make your life a lot easier I've distilled all the links and all a kind of helpful information down on my site so if you go to that link you will get some commands you can run to get your local setup and Some helpful links of some of the things that I'm doing here today so Feel free to check that out. You can do it now if you're trying to follow along or later on I Figured I would start off with a quote You know when you say hey, I'm going to go to Drupal con and I'm going to do a live demo People say, you know, you're foolish. You're crazy. You're out of your mind Well, everybody in this room is here because they're hungry for knowledge, right? so I thought the late great Steve Jobs was perfect here where he says stay hungry you came to learn and Well, I'm foolish because I'm going to try to do a live demo in front of a room full of people So without further ado, let's jump into the live demo I actually have two more slides here because the install process for Drupal VM kind of took a long time The last time I gave this talk at the nerd summit in western, Massachusetts I got some feedback that like hey shorten up the install to Drupal Like you guys can learn about that go to the Drupal VM site. There's great documentation on how to install Drupal So I have two more slides here One of which is the get clone of downloading Drupal VM to your local your local system Literally you get clone into your project folder and then you run a vagrant up and I had an animated GIF here originally and I know Nate's sad about this But I had to take it out because it was like a five-minute long animated GIF and Google slides just kept kept not wanting to show it So it'll run through it'll take you know about five minutes and by the end of that you will have a fully functional Drupal site So something that looks like This so I've already logged in if you wanted to see a logged out view I have it open here and This is Drupal VM running on my my local computer So fully functional ready to go So first things first We're gonna download some of those additional modules I talked about Now this is a little bit of a high-risk exercise because I am going to use the conference Wi-Fi So if you're on the Wi-Fi right now, and you want to shut that device off that would really be helpful Here we go So you'll see I'm using composer to do this composer require a stacked up lingo tech admin toolbar and the coffee module Well, this is running. Haha, it's been cashed Well, this is running. I'm actually gonna go put some content into my website. Now. This is pretty basic I'm not doing anything overly special here other than building out content as I normally would in Drupal And I know Nate wanted to automate this so that way you guys didn't have to watch me put content in but I want to show you guys how easy it is to enter content into Drupal So we're gonna call this the home page Put in our menu. Actually, you know, we don't need them anyway for that. So we'll save this We have a home page amazing, right? Let's add two more pages here So that way we have some good content for us to round trip from a lingo tech when time comes So we're gonna do about me Add this to our menu Shad like Jeopardy music would have been helpful. We're gonna save this We'll notice that our menu is kind of out of order. So let's restructure that a little bit All right, if we go back to our site, that looks pretty good. Last thing we want to do is just update the configuration for the home page So now we have our site and we're ready to start translating content Go to home page. I get my nice home page. That looks great. Let's check the site out not logged in Everything looks pretty good So let's go and check see if our module is finished. Hey, look at that. It actually worked awesome Let's enable those modules and what I'm gonna do again is I'm going to leave lingo tech off right now so we can see what core can do on its own and then we'll add lingo tech later and Show you what that does. So first things first, we're gonna do coffee How many how many people are using coffee? Oh Man, okay, so it's like spotlight search for your Drupal site. I recommend checking it out Maybe we'll use an admin toolbar. Oh man, guys, you gotta you gotta use some admin toolbar. It's amazing It will basically create drop-downs so you can get to things faster So let me install those two things Three modules installed. Awesome. I'm actually gonna just flush cash because what's gonna end up happening is sometimes admin Toolbar doesn't doesn't activate right away unless you flush the cash. So I'm just gonna clear out that And now you'll see I have drop-downs. That's admin toolbar right there. So let's go into Enabling translation modules. So if I type in translation You'll see that there are Three modules that I need one of which is the lingo tech module. That's a fourth our fourth module on the On the page here. So I'm gonna install all three of these modules because they're they're gonna be needed for me to translate our site Configuration translation content translation and interface translation we're gonna talk a little bit about content translation interface translation the way that Drupal's kind of broken down translation in Drupal 8 is that Content translation you can translate all of your contents or anything the user can see as content. It can be can be translated You can also translate the interface, which is essentially the admin that the trick here that I found over working with quite a few translation sites is that Sometimes there are things that the user can see that on the front end that are actually interface An example of this is certain things in views Certain certain menu items sometimes are considered interface. So typically I enable both of these Both of these Options when I'm translating a site, but you may not need to depending on how advanced your site is or what you're what you're Trying to achieve So let's go through this process and then of course you're gonna have to figure you translate that stuff as well Yep, we're gonna hit to continue Need the language module that is important So it enabled our four modules content translation configuration translation interface translation and language You'll now notice if you look in the configuration menu and you go down to region and language you have A area here for adding different languages to your site So we're gonna jump in here right away So we can see what we got in here. So you can see that the site by default is in English We're gonna add a language because we can't really translate anything without a language, right? so Somebody give me a language Somebody said French French French. We're going with French So pro tip any front-end developers in the room Couple cool Usually we test our front-end designs with German because when you translate something into German It tends to get like a lot bigger so you can see if there's there's breakage gonna happen in your theme So keep that in mind actually glad this gentleman didn't say German because I Mean core core handles it very well, but so you'll notice now that you've enabled translation Every time you enable a module you're gonna go through this process and basically what this is doing is this is taking Any translation that's within that's been built into that module and adding it to Drupal core So that way the module can be can be translated. So You'll see that French has been enabled We have it here. You'll notice that 99.94 percent of the interface is translated So that's Drupal admin And you'll actually notice as we start going through the site Sometimes you'll see that if depending on what page you're on whether the English version of the French version you'll see that Some of the admin items are in are in French. We'll talk about that in a little bit so one thing we do want to review is The Detection and selection settings so Drupal has quite a few options here when it comes to How we want to set this up as far as how is Drupal going to know What language the site should be so you have these options you can do it via the URL you can do it via the session You can do it through a user Browser and then the selected language so you can add a language selector to the site user can select it typically we like to go with URL for content and For interface so you'll see this as interface for interface. We like to go with the administration language and Then the URL so like you on your admin account once you enable this you'll be able to actually set your preferred language I have run into some bugs with this where as I said you'll go to the French version of the site and next thing You know your menu is in French So we'll we'll I'll point that out when when that happens As you come down here You'll see content language detection content language detection mirrors whatever you set an interface language detection unless you hit this button here And basically that allows you to set a different Different option here. You'll see that it says hey use the interface settings. We're not gonna do that We're just gonna use the URL for this exercise It's a little bit easier because you can see right in the URL like hey, I'm on the French side I should be seeing French here So we're gonna save those so at this point You're almost ready to start translating content and what I mean by that is there's still a few more steps that we have to do in relation to our content type and Enabling that for for translation. So if we go back into the regional menu We'll see that there are some menu items here for content language and translation If we click here You'll see that there's a list here of different entity types Now the folks using Drupal 7 Will notice that this in Drupal 8 is way easier than in Drupal 7. I apologize, but From this screen you can actually enable translation for every piece of content on your site as opposed to in Drupal 7 having to go through each piece of content and enabling each field which Super time-consuming so this is Way better way better So we're only going to translate two types of content We're gonna translate our content and then our custom menu links and you'll see that as I'm checking these boxes Things are opening up down below here And this is basically what I was talking about from here I can start saying oh, I want to do taxonomy I want to do users and I can basically select every single field within the site that I want to translate makes it really easy You know the team that worked on translation in Drupal 8 did an awesome job My first Drupal site was Drupal 7 site And coming to Drupal 8 it was it was like revolutionary for me. It was awesome So we're just going to do basic pages right now And I'm going to shut off some fields because we don't need to translate everything. I'm going to translate our title And you can do url aliases if you want to for this exercise. We're not going to but And the body so that's what I'm going to do for that and then for custom menu links I'm really just going to do the menu link title So we're going to save this it's going to work on it. It's working and We'll see that it's saved if we go into our content type now or our content rather And we'll do our homepage because that has less content. We'll see a translate tab at the top now We click on there. We have the ability to add our french translation Pretty easy, right? It's been 17 minutes and we already can translate content on a Drupal site. That's awesome So Let's go ahead and do that So i'm going to treat a cheat here because I don't actually know french And i'm going to use google translate Oh, you can see that it reloaded my old My old session And we're going to go with french All right Apparently oh wait a second There we go. I'm like that looks like english to me. Let's copy that And going back to here So you'll notice here That If you look at the url, you'll see that it says slash fr slash node slash one That's how we know that. Hey, we're editing the french version of this page You'll it'll also go into say translation add en fr So you know in those two places if you're seeing the fr, you know, hey, this is going to be the french version So let's drop that here And let's translate home And you'll actually notice as i'm looking at this you'll notice that the admin is In french you'll see title here Publishing right As soon as I save this page we'll we'll attempt to fix that We just translate the home Anybody here actually speak french? Little bit. How's google doing? Good doing doing so so all right So I will say that that google translate is is okay But um having an actual actual person translate it and then an actual person in france read it and And make sure that it's contextually appropriate is is a huge plus So let's go down here and hit what I imagine to be the save and publish button You'll see that This content is now in french. So if we go to our logged out version We go home. Hey, it's still in english. Let me place the language selection block. So that way, you know, let me actually fix My admin so that way I can actually I can't read french Let's go back to english So here's the setting that I was referring to if I come down here There should be a administration pages language. I'm gonna say english And because I said no had no preference there before it was just loading whatever the site was in Now if I save this Still a little bit buggy from time to time, but I should be able to see My pages in uh english when I'm when I'm editing them now The other thing I want to do is I want to enable the language switcher block so We can see how that works. So I'm going to go to my One of my sidebars. Let's go with my first one And I'm gonna Set my language switcher now. You'll notice here. There are two there's a language switcher for the content And a language switcher for the interface because we want all of our content in a different language. We are going to Place the block for content And um, I'm just going to call it language switcher. I don't need to know which one And you can actually For block configuration now you have the ability to say, hey, I want this block to only appear on the french page or I wanted to be on the english page so The fact that you've enabled translation kind of unlocks a lot of customization that you can make within drupal to Very carefully focus your content to one language or the other So we're going to save this I'm just going to double save this page and make sure it does what we need it to do Let's go back to the logged out version. Do I have a language switcher? I do and if I go to french Hey, look at that and you know, google tries to help me out. I appreciate that This is in french the menu title is in french Now I will tell you you guys didn't see me edit the menu title. Did you? That's actually core because that home button is a core button that was installed When drupal was installed that's coming out of core right now. That's part of the 99.94 percent that was Translated when we translated we added the interface so We'll talk about translating menus when we get into uh get into lingo tech, but it's the same process Let me let me show you that really quickly now Come into main navigation Say I wanted to translate about me edit translate Same deal just like you edit in content super easy All right Now for the fun part Say you have a page with a thousand pieces of content Does anybody want to go through that translate each one translate each menu item translates blocks views this guy's like Nobody wants to do that No, neither do I and lingo tech offers a service that Will help you to translate your content So they're free to your which i'm going to show you today will uh, basically Translate your content with machine translation, which is using Microsoft translate microsoft translate so It works it works great, but their full suite of services allows you to Allows you access to their tms their translation management system Which allows your translators to go in and translate content They're translators to go in and translate content depending on who needs to do it It allows you to set up workflows so that way you can say hey machine translate this And then send it to a translator to actually have it translated and then send it to somebody in the region to be able to Read it and you know, maybe one of your marketing officers is in is in france per se and send it to them let them review it make sure it all makes sense and then Approve it and download it back to drupal this can be set up to automatically happen when you add new content Or it'd be more of a manual process when you say oh, I answered 12 blog posts I'm going to send them all up and they'll automatically come back down So we're going to enable a module And go through kind of those those steps And then I think we'll probably have some pretty good time for q&a So if you have questions, I'll be more unhappy to answer them. So again, this is installing the module There we go. All right pulled in some translation. You'll see it imported some translation files It also added this cool little drop down to your menu. So this is the the lingo tech module at work here And what we're going to do here is we're going to actually go into settings because I have to configure it Now you can create a new account So, uh, how many people here are lingo tech customers? Nobody cool. So if you wanted to try this at home, you could go in you could create a new account And they would basically allow you to translate some of your content for for free Uh, we have an account. So I'm just going to use I'm going to use my account But the process for creating account super easy. Click the button sends you off to their site You get your account information then you can log in beyond your way So I actually already logged in earlier. So I'm hoping it just grabs my cookie and logs me in No Okay, here it goes So it's working. It's working. It's working. Hey, there we go So you'll see this is the lingo tech dashboard shows you some stats about your site. How much of it is Or how complete the project is meaning how much of your site is translated basically It can show you how many languages you have enabled in lingo tech gives you some stats about Kind of general language usage and if you have two languages enabled How many people you're you how much reach you have and so on and so forth So at this point, we're actually going to do some configuration for for our site here And if we go into config You'll see that uh, I'm actually sorry, we're going to go into content Oh, I did not enable content. So let's go over here And you'll see now in settings. I have all of these these options I need to go through and enable my content for translation with lingo tech now keep in mind I enabled my content for translation in drupal. That's drupal core The drupal core system talks to lingo tech And then lingo tech says hey, what content do you want to send up to your to lingo tech to be translated? so One of our clients actually has blog content and they're like, we have so many blogs We do not need to have them all like professionally translated or like we'd rather just not have them translated at all They've created a workflow or in the settings They've actually disabled that piece of that content type from going up to lingo tech so You know, that's that's pretty powerful because if you're paying for translation and you don't You know, you don't need a piece of content translated. You don't want to send it up. So Let's go ahead and same sort of interface The uh, we're going to check this Set for automatic translation. We're going to select the fields now You can do each field you can do all the fields same sort of interface that you're using with drupal core that you're familiar with And we're going to go through here and do this We're going to save that All right. Now if I go back to the content screen We should see our content now You'll notice fr has a gray box next to it if I hover over the gray box It's going to tell me that a translation exists Well, it does because we already created it We have the ability to kind of wipe out our google translated translation and use the lingo track lingo tech translation In this case So what we're going to do is i'm actually going to send all this stuff up to be translated Check on it and then have it come back down We could do that one way by clicking On the source right And it changes colors. So this interface will change colors as your content gets to different statuses within lingo tech So let's do this for all of them And you know what? I'll do this here So if I hover over this It'll say source importing if I hover over here. It'll tell me that I have requested the translation Well, I just clicked again. Okay. So now you see that this one is green That means the source has been uploaded to lingo tech. So it's up it's up in the tms And they're cranking away on I'm going to take the easy approach with these two and just use the bulk operation here Upload source translation is the first one So now What happened? Yeah, okay, so We want to check the progress of the translation. So I sent it up.  Thanks guys So now you'll see that we have different translations translations been requested And because I did about me a little bit differently, you'll see that it's actually ready for download So let's get all of these in the same in the same state here. I don't know. There's something very gratifying about just clicking these buttons And seeing them change color and because we're only doing three. It's very easy You know, if you were if you're doing again a thousand you wouldn't want to hear clicking buttons all day So now we have the ability to come in here. These are all the same status and we're actually download our translation So download all translations and through the magic of the internet everything's green and Green means go So that means all of our translations have gone up to lingo tech Been translated come back down And if I go to my site I'm going to do it logged out because It's a little bit a little bit easier No, google. Thank you though You'll notice that our homepage is still translated, but that was already translated if I go here All of our content has been translated Right There you go. All right So I can click through here. I can see all of this is translated apparently the word oomph is still oomph in france That's cool. I'm okay with that What are you noticing here though? Obviously the home button like I said came out of the core translation So it's already been translated, but about me and drupal and oomph are not translated We didn't actually send the menu items up to be translated. So if I come back into The lingo tech interface I see I have custom menu links right at the top here And I can go through the same process here. I can upload them Have them translated Download them And they will appear. So let's go through that process Quickly Yeah, it's so satisfying.  He's like, yeah, I got you There we go. All right. So those are all done. Let's go back and take a look at Hey, look at that. Everything's translated Apparently there's no french word for drupal either That's awesome All right, so we basically in You know 45 minutes or so translated All of our all of our content, right? That's pretty impressive At this point, I'm going to show you two more slides and then I'm going to open everything up for questions Let me pull those up The da has asked me to remind you that you can go to the talk page and Let them know what you thought of this talk. It was great, right? Right? No pressure And then of course If you want to work on translation, you want to work on the lingo tech module You want to work on anything they're going to be sprints on friday. So make sure you check those out I appreciate your time and if you have any questions, I'd be more than happy to answer them That was really really cool Thanks I'm curious does it allow for Swapping out the main language so english was the main language here Can I swap that and make it french so that the translate tab on the node form is now going to carry english? Yep, absolutely. So if I let me go back to my demo right quick Cool. Thank you. Yeah. No, no problem So if I go into uh under here for languages You can see that there's a default option Right here sweet. So I can just say hey, I want french to be the default language And that'll basically say okay, that's the default language for the site anytime the site displays It's going to display in french. I assume that affects lingo tech's integration Uh, yeah, so it assumes that the source language is now french sweet So yeah once once you change that you can upload it in french and they can they can translate it into english or any any language you want Thanks. Um, so one question, um Or two I have two questions first. Uh, why is url the recommended Means of detecting the language Is there a reason? So to be fair for this for this demo url was was easier We have clients that Prefer prefer the url method, but I mean you can use a domain One of the options is to to use a domain And you know have a fr dot your domain dot com if you want to so But language headers in the in the request or other things that are not recommended broadly is that? Um, to be honest, I've only ever used URLs in domains. Um, you You know experiences may vary. I would say go ahead and try it out You saw how easy it was try it out with your use case and you know see if you run into any issues So then second question, um If you have done some translation in drupal And have that translated content Uh That gets sent to lingo tech will that will then wipe out Your local translated version it will. Yeah, so what's happening there as you saw with my my home page It wasn't very evident because I had already translated it But lingo tech basically wiped that out and replaced it with uh, you know, what was in their system Thanks So I got two things um the Section you went over about uh defaulting admin ui to english I could not see I was wondering if you could go over that real quick because I was looking in my menu Is I couldn't find that that's all right. So if you go into your uh, I kind of did that quickly too So if you go under people go to your user account And scroll down to the bottom you'll see that it says administration pages language. Okay. Um, did you not have that? Maybe I just missed it. No, so it's a pretty user setting That setting is actually contingent on you selecting this so let me go back over here And if you don't select account administration pages Okay, it will not show up. Okay. So that's a per user setting. Uh, yeah, okay Um, the second thing I I don't know if anyone else has uh feedback about this but in translation You know, obviously you go through different pieces of content But another piece that I'm just been curious about is URLs With path auto you have the ability to use different field content to Create, you know auto create aliases. Yep. Um, I'm curious if it's a best practice to Translate URLs or if URLs aliases should be more or less the same across languages. So um I'm gonna I'm gonna speak from experience and I don't know if it's necessarily best practice. We had a client that did translate their URLs and they Did not have good results with it. They ended up going back to just using um straight english URLs. So The URLs were the same everywhere, but as you saw in The Drupal configuration as well as the lingotek configuration You do have the ability to send the alias up to be translated So if you wanted to do, um, you know region specific URLs, you definitely could Thank you Hi, um I got kind of a two question part. I saw that you're definitely using the wizzy wig ck editor or stuff like that We do have a lot of clients that like to embed pictures with captions and stuff like that How good does lingotek in the core Drupal translate Translate those captions and alt text and stuff like that. It does a really good job So i'm gonna i'm gonna talk about that from the the lingotek perspective Because our client has had that same issue You know, they've had a picture where the caption needed to have the caption translated not necessarily the picture Um So you Through lingotek you can tell lingotek what tags you want to be translated. So even if you had like, um You know a title tag on a link or something like that and you wanted the title tag to be translated You can change your configuration within Drupal Within the lingotek module in Drupal to say hey on a tags Don't send the link but send the title and have that put into the tms and have that translated So it breaks it down really really nicely for you to be able to translate all of those pieces um on the core side Uh, you can actually have different content per per translation So like if I decided that you know, I had an image that was specific to a us us audience And then I had another image that was more specific to a French audience I could actually change those and have two different images on each one Like I said once you enable translation in core Drupal becomes very flexible at Managing that content and saying like hey show this page to the French audience and show this page to the to the English us audience My other question is um We got our a lot of our customers that are heavily into penalizer Custom blocks and paragraphs. I didn't see that as a optionalist and I'm just wondering how well does the lingotek and All that play around with those so in the past I've had really good Really good success with that. Um, that's actually under the config options here You'll see in here. You have content and then you have config I also didn't enable block for translation In this demo, but yeah, it handles all that stuff. It'll do blocks views basically anything that The drupal translation system can get to lingotek can get to to translate. Okay. Thank you very much. You're welcome Hey, how you doing good. Uh, so a couple questions. Um, if we have Multiple translated sites, is it possible to have some that use the url such as fr and some that use the domain? Uh, okay. I gotta I gotta clarify that question a little bit. Um, are they different drupal instances? Are they so they're all one drupal instance and you um, basically want to do it per language? Right. Um, yeah, you can do that you can set Pretty sure you can set detection configuration per language. Let me just double check that. Yeah, here you go So on this screen here, you could say, okay. I want, you know fr for my url or if you changed it Um, it might be a little bit difficult actually now that I'm looking at this that to Do different approaches. Okay You may have to do some sort of rewriting at the server level to kind of say like hey If you come in on this domain go over to the path or vice versa um There are a couple of modules out there that Might be able to help with that. I know the domain module is something that we use I'm not sure how if that would um, that would help or hurt, but you could try it out. Okay, and um, is um, right to left Left to right supported. Oh, yeah out of the box. So um, I actually did a demo of this for our our internal team and um Somebody picked a right to left language and it just it just worked everything shifted. Uh, because I was using a I was using, uh, you know, the core bar tick theme and that's built to handle that so everything just worked One one final question. Um, does it add headers in? Meta tag information to the header so that uh, google can be on a page and know that there's a french version italian version Yeah, you can um, you can set it up to to do that And there are um Integrations with meta tag and I think there's a href lang module out there too to kind of handle that seo stuff Perfect. Thank you. You're welcome. Thank you Hi, hi My question was around and this is something uh, use case that that uh, I deal with quite a bit Which is I want the interface to always be in english Sure, but the content of the website Themselves to never be in english and have french and arabic, right? Uh, but the interface is non changeable. Um, could you talk about that a little bit? Yeah, so as you saw, I was able to set my admin interface at the user level to english and Work in, you know in english on my french content I haven't actually played around with this in eight five yet But I know in previous versions there were some patches that needed to be added to kind of make this a little bit More solid because there were instances where like your menu items Would swap and you you get really um, you'd get really comfortable Quickly understanding whatever the other language was because you'd be like, oh, that's extend. Okay. Got it When you choose your default language, you're choosing your default Interface language right not the site default So the default is um is the the default for everything. I don't actually Know I've never had an instance where I needed to set basically a default for the interface and a default for content the site, yeah Yeah, so um, that would be something that you definitely want to play around with and and test out, but um, it works it works Very well because we actually one of our bigger clients that uses slingo tech and does translation All of the people that are writing the site are english speakers. So they're all they're editing french, italian, german In in english and my second question was just around um, the translation Not automation, but the service and how that works with moderation because you have You know published english send it up to be translated in the french, but send it back as a draft You know what I'm I'm going to pump that question And say after we're done you should talk to the lingo tech guys and see see what they have to say because we've actually never had to do That we've never had that use case. We haven't had it yet Short answer is yes All right, the recording's happy I had the same questions around interface But when you enabled the modules you said that you had to turn on interface translations because it was a requirement for lingo tech Have you ever just not turned on interface translation? It's not it's not a requirement for lingo tech. I'm sorry if that was not clear No, uh, what it is what it ends up what ends up happening is you You notice certain certain user facing things that are actually interface. They're not content. Um That happens a lot more in views. I think So I typically just enable interface because that gives you you know that gives you the config tab here Right to be able to go into the and see the config item that you need to need to change This was something that we hit on Last multi-language project. I did but that was over a year ago and a lot has changed since then so I wasn't sure Was it jubilee or jubilee? It was jubilee and we couldn't do English interfaces everywhere for admin. It was just like didn't work Yeah, there were a couple of patches out there I I did I did uh Add patches and clear caches Hi, um, um, I'm in government. We have huge websites and um Often, um, I know a couple of people in government not a lot in the state government and not a lot of Budget sure and um and often for translated pages you have to prioritize We use seven and I've tinkered around with it some and I noticed that um, it's been a while So if I don't get this quite right, um, correct me, but um, if you have um a section where maybe half of the pages are translated You might be presented with a menu with If you're in the translated section in this case Spanish Um, and then um the pages that are in English are still presented Yes, um, so you would navigate the site and wherever you Chose a menu item Um that was translated you would get that but if the menu item Was not translated you would get the English version. Is that how the eight behavior is? Uh, yes, I believe it is what happens is it basically will show you whatever version that it has So if it has an English version, you can say yes show the English version on this And you know when it gets translated it'll show the translated version So if I wanted to have an espanol dot something dot gov Um, it wouldn't really be All in spanish if I didn't translate at all. So that's what i'm struggling with I don't know what the the ideal user behavior is but it I would have I would sort of like to have the subset of pages that we think are most pertinent to our audience and just publish those We actually just had that conversation before coming in here One of our clients is having the same struggle and uh my my take on it was if I was You know Spanish speaker and I came to a site and you offered spanish and only half the content were in spanish I'd be a little bit disappointed. Okay But I will say uh in your use case You can I don't know if you notice this but when I hit the translate button in drupal core It actually pulled over the english content So if I were to just save that because I didn't have a translation at that point The english content would be on the spanish page. So it would end up showing showing to the end user as Uh, it would say spanish, but it would actually actually be in english. So that could be a could be a workaround So you could have the separate full site. Okay. Thank you very much Yep. Yeah, so as I said with the blocks you can actually have a block per per language You can you have visibility settings for blocks based on languages So if you said hey, I'm going to create a menu for spanish. I'm going to create a menu for french I'm going to create a menu for german you could based on the language of the site Display those blocks So mine was around like validation. Do you have like validators and might be specific to the translation provider? Where the translation comes back? Now we want to send it to our in-country SMEs yep and say verify that it's okay. Yep. They make changes We want that change to go back to the translation provider. We want them to update their memory Etc. And then and then the final piece of it is that when it gets retranslated We'd like the validator to know what came from memory Yep versus what came from the translation service. Yep. Yep. I am totally following you so I'm going to go I'm going to go on a little bit of a little bit of a rant here so What happens with with the translation is you send it up to lingo tech right and lingo tech has its own workflow And that workflow can be configured however you want So typically the way we've used it is it will Will upload content to lingo tech it'll pull terms out of our translation vault Which is all the terms that have already been translated apply those go into machine translation Translate the content and then it'll go to a translator Whether it's our translator or lingo tech's translator that can be determined And then once that translator is done with it. It goes into a review phase where an in-country Person can review it say oh no you got this context a little bit wrong You want to change tense there so on so forth And then at that point it goes on to the next phase and that could be the completion phase where it's like Yes, this is all set and we're going to download it back to drupal. So once it goes up to lingo tech you have a whole whole suite of Of tools to be able to build your own custom workflows And have your translation vaults because one of the one of the big Things with translation is right you're paying per word So, you know if you're translating the same word over and over again, it's like throwing money away So lingo tech has the translation vault where all of the terms you already translated go in there It's like a little little Piggy bank basically that you can pull the terms out of add them to your content You don't have to pay for those terms. So it's it's saving you it's saving you money Right And then with the combination of workflows so you can build it however you want you want six people to review It before it comes back down to your site you can do that right and all those Updates from the reviewer flows back into the vault But don't you have two vaults? So you just no no no no vault and you have a vault No, no, no, let me clarify the vault is in lingo tech lingo tech is storing that vault drupal does not have a translation vault um drupal um I'm going to say it's basic, but it's not a negative right so drupal is very much doing like a one-to-one You go in you say translate this to this and it says it saves it in the database It doesn't segment it down Exactly, um the vault functionality is coming from lingo tech. So definitely if you're using that service, you'll get that functionality. All right Cool any other questions Yes So for the recording the the question is can you add translations to the vault the answer is yes lingo tech will allow you to translate Quite a few different file types into your vault.  You can't import that into your vault and Use that as kind of a base for translations going forward Any other questions? I think was there one over here? No Everybody's good. All right. Well, I appreciate everybody's time if you have more questions Feel free to come on up and ask me if you see me in the hall feel free to stop me We're hiring a doomfink. So if you want to come work with us Feel free to reach out some of my colleagues or in the audience and have a great Drupal con Hey, there's my water. How you doing? Quick question. Sure We've got is when the translations come back either In the in the translation dashboard or in Drupal they're going


And, uh, and listener Stephen says, says, uh, I found that in Monterey, at least in the Monterey recent beta, the reset Bluetooth module is no longer available when you option click the Bluetooth menu in Monterey, John, but listener Stephen found the answer, uh, you go to the terminal and he, and the idea is you just kill the Bluetooth, um, demon, which is the little process that manages it all in the background. When you kill that, it relaunches that effectively resets everything, right? Because of the way it works.  But what I did not know about so, so that in and of itself is a tip, right? That's great. But I didn't know about the P kill command, John. I don't know how I missed this, but P kill lets you kill a process in UNIX by name, not by, um, not by process ID.  So, uh, you know, we get to learn two things in one tip, which I like. So thanks for that, Stephen. Good stuff. Pretty good, huh, John? Have you started running Monterey yet? No. Oh, yeah. I'm just looking here on my big sir machine. I thought there was a way to do this from the Bluetooth menu with, with a modifier key. Yeah, I think with the option key down, um, you, that, I mean, that's where you've always found it in the past is reset Bluetooth. Uh, it might not just be option, right?  So, isn't it not the option key? Maybe it's option shift. Option shift gets you reset the Bluetooth module in big sir. Ah, good. Okay. Yep.