1 00:00:00,000 --> 00:00:02,000 Now that we have Joomla! 3.0.2 2 00:00:02,000 --> 00:00:07,000 installed on our Web site, there's a couple of other things I'd like to show you. 3 00:00:07,000 --> 00:00:10,000 So, one of the things is language overrides. 4 00:00:10,000 --> 00:00:14,000 Language overrides were present in 5 00:00:14,000 --> 00:00:16,000 Joomla! 2.5, and they were present in Joomla! 3.0 6 00:00:16,000 --> 00:00:22,000 also, but they were so buggy you couldn't use them in 3.0, or 3.0.1. 7 00:00:22,000 --> 00:00:26,000 The bugs have been fixed in 3.0.2, and now I can show you how these work. 8 00:00:26,000 --> 00:00:28,000 As you know, Joomla 9 00:00:28,000 --> 00:00:33,000 has a lot of text behind the scenes that's actually tied to the functioning of 10 00:00:33,000 --> 00:00:35,000 certain items on your Web page. 11 00:00:35,000 --> 00:00:41,000 So for example, the text when you go to your Login screen, this text here for 12 00:00:41,000 --> 00:00:46,000 User Name, and Password, and Forgot your username, and Forgot your password; that's 13 00:00:46,000 --> 00:00:48,000 all text that comes out of Joomla 14 00:00:48,000 --> 00:00:51,000 itself, and these are part of something called language files. 15 00:00:51,000 --> 00:00:55,000 The language files contain that text in English, 16 00:00:55,000 --> 00:00:59,000 and if we were working in Italian, it would have that text translated to Italian, 17 00:00:59,000 --> 00:01:02,000 or any other language that you happened to be working in, and then Joomla 18 00:01:02,000 --> 00:01:07,000 can swap in those values for the different languages for those particular 19 00:01:07,000 --> 00:01:09,000 locations on the Web page. 20 00:01:09,000 --> 00:01:13,000 The Search box is something that you might want to change at some point in time. 21 00:01:13,000 --> 00:01:18,000 The fact that it's this Search... inside of the box is not necessarily ideal for 22 00:01:18,000 --> 00:01:22,000 absolutely everybody. Maybe you would like to get rid of that. 23 00:01:22,000 --> 00:01:25,000 And fortunately, language overrides will allow you to do that. 24 00:01:25,000 --> 00:01:29,000 Even if you're only working with a single language Web site, like an English only 25 00:01:29,000 --> 00:01:35,000 Web site, you can still use language overrides to customize Joomla's text, 26 00:01:35,000 --> 00:01:39,000 very, very quickly and easily, and you don't have to go digging through Joomla's 27 00:01:39,000 --> 00:01:43,000 file structure the way you used to have to do this before language overrides. 28 00:01:43,000 --> 00:01:44,000 So here in the back-end of Joomla, 29 00:01:44,000 --> 00:01:50,000 I'm going to go to Extensions > Language Manager. 30 00:01:50,000 --> 00:01:56,000 And over here on the left side of the screen, click on the Overrides function. 31 00:01:56,000 --> 00:02:00,000 So this is where we're going to install this language override. What Joomla 32 00:02:00,000 --> 00:02:06,000 is going to do for us is it's going to save our specific little bit of text that 33 00:02:06,000 --> 00:02:10,000 we would like to have that's different from Joomla's core files, and it will 34 00:02:10,000 --> 00:02:12,000 save it out as its own special little file. 35 00:02:12,000 --> 00:02:16,000 So as we continue to upgrade Joomla, the core language files may change going 36 00:02:16,000 --> 00:02:21,000 forward, but whatever we type in for this text through the language overrides 37 00:02:21,000 --> 00:02:25,000 feature here, that will never change, and Joomla 38 00:02:25,000 --> 00:02:26,000 will never override it. 39 00:02:26,000 --> 00:02:29,000 So that's great. Once you set the Web site up once with this language, you won't 40 00:02:29,000 --> 00:02:31,000 have to change it again. 41 00:02:31,000 --> 00:02:35,000 So I am going to click on the New button to start a language override, and then 42 00:02:35,000 --> 00:02:38,000 the first thing it asks me for is a Language Constant. 43 00:02:38,000 --> 00:02:42,000 And a Language Constant looks something like what you see over here in 44 00:02:42,000 --> 00:02:43,000 this little blue box. 45 00:02:43,000 --> 00:02:47,000 They're usually all capital letters, and they're usually connected by 46 00:02:47,000 --> 00:02:55,000 underscores; something like COM_CONTENT_READ_ MORE, and the text there, that is Read more:, 47 00:02:55,000 --> 00:02:57,000 you can change that. 48 00:02:57,000 --> 00:02:59,000 But I am not a Joomla 49 00:02:59,000 --> 00:03:05,000 programmer, and I am sure you're not either, so how do you come up with what 50 00:03:05,000 --> 00:03:06,000 those language constants are? 51 00:03:06,000 --> 00:03:09,000 Fortunately, you don't have to worry about that. 52 00:03:09,000 --> 00:03:13,000 If you know what the text is on the Web page, come over here, and start at the 53 00:03:13,000 --> 00:03:17,000 left side of the screen. Type in the text that you're searching for, so 54 00:03:17,000 --> 00:03:22,000 search..., and click the Search button. 55 00:03:22,000 --> 00:03:27,000 This will pull up those language constants for you right here, and you can decide 56 00:03:27,000 --> 00:03:29,000 which one is the one that you want to edit. 57 00:03:29,000 --> 00:03:34,000 Well, in all likelihood, it's this one right here: the SEARCHBOX_TEXT. So I am 58 00:03:34,000 --> 00:03:39,000 going to click that, and the Text right now is set to the Search...; 59 00:03:39,000 --> 00:03:43,000 I could change that. In fact, I could just get rid of the text altogether, and 60 00:03:43,000 --> 00:03:49,000 erase it entirely here in this box, and I can say Save & Close. 61 00:03:49,000 --> 00:03:52,000 So I have gotten rid of the text that was available for the 62 00:03:52,000 --> 00:03:55,000 MOD_SEARCH_SEARCHBOX_TEXT. 63 00:03:55,000 --> 00:03:59,000 Now when I come back here to the front-end of the Web site, let's say I go to the 64 00:03:59,000 --> 00:04:02,000 Home page, now I have a Search box that's completely empty. 65 00:04:02,000 --> 00:04:05,000 And the way I did that is through language overrides. 66 00:04:05,000 --> 00:04:09,000 So now you know how you can change text in other areas of your Web page. 67 00:04:09,000 --> 00:04:13,000 Places you might want to change some of your text that's generated by Joomla 68 00:04:13,000 --> 00:04:17,000 includes your Login screen; perhaps you'd like to change the text here for 69 00:04:17,000 --> 00:04:21,000 Forgot your username, or Forgot your password. Or User Name; some people like to 70 00:04:21,000 --> 00:04:25,000 spell that as one word instead of as two separate words. 71 00:04:25,000 --> 00:04:29,000 And you can use this feature to customize all of those messages inside 72 00:04:29,000 --> 00:04:31,000 of Joomla.