<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Simon James Clegg &#187; Books</title>
	<atom:link href="http://simonjamesclegg.co.uk/category/books/feed/" rel="self" type="application/rss+xml" />
	<link>http://simonjamesclegg.co.uk</link>
	<description>Freelance web developer and IT consultant</description>
	<lastBuildDate>Wed, 05 May 2010 06:54:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Languages and Language Settings in Moodle</title>
		<link>http://simonjamesclegg.co.uk/2009/02/languages-and-language-settings-in-moodle/</link>
		<comments>http://simonjamesclegg.co.uk/2009/02/languages-and-language-settings-in-moodle/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 21:03:21 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Moodle]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[e-Learning]]></category>

		<guid isPermaLink="false">http://simonjamesclegg.co.uk/?p=107</guid>
		<description><![CDATA[Knowing different languages is always an added advantage. If our website is able to communicate with people of different languages, globally the popularity of the website would go up. With Moodle, we have the option of making our site more interactive as it offers support for different languages. In this article by William Rice, we [...]]]></description>
			<content:encoded><![CDATA[<p>Knowing different languages is always an added advantage. If our website is able to communicate with people of different languages, globally the popularity of the website would go up. With Moodle, we have the option of making our site more interactive as it offers support for different languages. In this article by <strong>William Rice</strong>, we will see how to configure different languages on our Moodle website and also look at some of the available language settings.</p>
<h3>Language</h3>
<p>The default Moodle installation includes many Language packs. A language pack is a set of translations for the Moodle interface. Language packs translate the Moodle interface, and not the course content. Here&#8217;s the Front Page of a site when the user selects Spanish from the language menu:</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-1.png" alt="" /></p>
<p>Note that every aspect of the interface is being presented in Spanish: menu names, menu items, section names, buttons, and system messages. Now, let&#8217;s take a look at the same Front Page when the user selects Romanian from the language menu:</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-2.png" alt="" /></p>
<p>Note that much of the interface has not been translated. For example, the <span style="font-weight: bold;">Site Administration</span> menu and section name for <span style="font-weight: bold;">Site news</span> are still in English. When a part of Moodle&#8217;s interface is not translated into the selected language, Moodle uses the English version.</p>
<h3>Language Files</h3>
<p>When you install an additional language, Moodle places the language pack in its data directory under the subdirectory <span style="font-family: Courier New,Courier,mono;">/lang</span>. It creates a subdirectory for each language files. The following screenshot shows the results of installing the International Spanish and Romanian languages:</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-3.png" alt="" /></p>
<p>For example, the subdirectory, <span style="font-family: Courier New,Courier,mono;">/lang/en_us</span>, holds files for the U.S. English translation, and <span style="font-family: Courier New,Courier,mono;">/lang/es_es</span> holds the files for traditional Spanish (Espanol / Espana).</p>
<p>The name of the subdirectory is the &#8216;language code&#8217;. Knowing this code will come in handy later. In the previous example, <span style="font-family: Courier New,Courier,mono;">es_utf8</span> tells us that the language code for International Spanish is <span style="font-family: Courier New,Courier,mono;">es</span>.</p>
<p>Inside a language pack&#8217;s directory, we see a list of files that contain the translations:</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-4.png" alt="" /></p>
<p>For example, the <span style="font-family: Courier New,Courier,mono;">/lang/es_utf8/forum.php</span> file holds text used on the forum pages. Let us suppose that we are creating a course for students. This file would include the text that is displayed to the course creator while creating the forum, and the text that is displayed to the students when they use the forum. Here are the first few lines from the English version of that file:</p>
<pre style="margin-left: 40px;">$string['addanewdiscussion'] = 'Add a new discussion topic';
$string['addanewtopic'] = 'Add a new topic';
$string['advancedsearch'] = 'Advanced search';</pre>
<p>And here are the same first three lines from the Spanish version of that file:</p>
<pre style="margin-left: 40px;">$string['addanewdiscussion'] = 'Colocar un nuevo tema de discusión aquí';
$string['addanewtopic'] = 'Agregar un nuevo tema';
$string['advancedsearch'] = 'Búsqueda avanzada';</pre>
<p>The biggest task in localizing Moodle consists of translating these language files into the appropriate languages. Some translations are surprisingly complete. For example, most of the interface has been translated to <span style="font-weight: bold;">Irish Gaelic</span>, even though this language is used by only about 350,000 people everyday. The Romanian interface remains mostly untranslated although Romania has a population of over 23 million. This means that if a Moodle user chooses the Romanian language (ro), most of the interface will still default to <span style="font-weight: bold;">English</span>.</p>
<h3>Language Settings</h3>
<p>You access the Language settings page from the Site Administration menu.</p>
<h4>Default Language and Display Language Menu</h4>
<p>The <span style="font-weight: bold;">Default language</span> setting specifies the language that users will see when they first encounter your site. If you also select <span style="font-weight: bold;">Display language menu</span>, users can change the language. Selecting this displays a language menu on your Front Page.</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-5.png" alt="" /></p>
<h4>Languages on Language Menu and Cache Language Menu</h4>
<p>The setting <span style="font-weight: bold;">Languages on language menu</span> enables you to specify the languages that users can pick from the language menu. There are directions for you to enter the &#8216;language codes&#8217;. These codes are the names of the directories which hold the Language packs. In the subsection on Language Files on the previous page, you saw that the directory <span style="font-weight: bold;">es_utf8</span> holds the language files for International Spanish. If you wanted to enter that language in the list, it would look like this:</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-6.png" alt="" /></p>
<p>Leaving this field blank will enable your students to pick from all available languages. Entering the names of languages in this field limits the list to only those entered.</p>
<h4>Sitewide Locale</h4>
<p>Enter a language code into this field, and the system displays dates in the format appropriate to that language.</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-7.png" alt="" /></p>
<h4>Excel Encoding</h4>
<p>Most of the reports that Moodle generates can be downloaded as Excel files. User logs and grades are two examples. This setting lets you choose the encoding for those Excel files.</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-8.png" alt="" /></p>
<p>Your choices are <span style="font-weight: bold;">Unicode</span> and <span style="font-weight: bold;">Latin</span>. The default is <span style="font-weight: bold;">Unicode</span>, because this character set includes many more characters other than <span style="font-weight: bold;">Latin</span>. In many cases, Latin encoding doesn&#8217;t offer enough characters to completely represent a non-English language.</p>
<h4>Offering Courses in Multiple Languages</h4>
<p>The settings on the <span style="font-weight: bold;">Language settings</span> page are also applicable for translating the Moodle interface. However, they are not applicable for translating course content. If you want to offer course content in multiple languages, you have several choices. First, you could put all the different languages into each course. That is, each document would appear in a course in several languages. For example, if you offered a botany course in English and Spanish, you might have a document defining the different types of plants in both English and Spanish, side by side in the same course–<span style="font-weight: bold;">Types of Plants</span> or <span style="font-weight: bold;">Tipos de Plantaras</span>. While taking the course, students would select the documents in their language. Course names would appear in only one language.</p>
<p>Second, you could create separate courses for each language, and offer them on the same site. Course names would appear in each language. In this case, students would select the course in English or Spanish– <span style="font-weight: bold;">Basic Botany</span> or <span style="font-weight: bold;">Botánica Básica</span>.</p>
<p>Third, you could create a separate Moodle site for each language, for example, <span style="font-family: Courier New,Courier,mono;">http://moodle.williamrice.com/english</span> and <span style="font-family: Courier New,Courier,mono;">http://moodle.williamrice.com/spanish</span>. At the Home Page of your site, students would select their language and would be directed to the correct Moodle installation. In this case, the entire Moodle site would appear in the students&#8217; language: the site name, the menus, the course names, and the course content. These are things you should consider before installing Moodle.</p>
<h4>Installing Additional Languages</h4>
<p>To install additional languages, you must be connected to the Internet. Then, from the <span style="font-weight: bold;">Site Administration</span> menu, select <span style="font-weight: bold;">Language | Language packs</span>. The page displays a list of all available Language packs:</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-9.png" alt="" /></p>
<p>This list is taken from Moodle&#8217;s <span style="font-family: Courier New,Courier,mono;">/install/lang</span> directory. In that directory, you will find a folder for each language pack that can be installed.</p>
<p style="text-align: center;"><img src="http://www.packtpub.com/files/images/moodle-article-10.png" alt="" /></p>
<p>The folder contains a file called <span style="font-family: Courier New,Courier,mono;">install.php</span>. That file retrieves the most recent version of the language pack from the Web and installs it. This is why Moodle must be connected to the Web to use this feature. If Moodle is not connected, you will need to download the language pack and copy it into the <span style="font-family: Courier New,Courier,mono;">/lang </span>directory yourself.</p>
<p>If you don&#8217;t see the language you want on the list of <span style="font-weight: bold;">Available language packs</span>, either it&#8217;s not available in the official Moodle site, or your list of available languages is out of date. Click to update this list. If the language doesn&#8217;t appear, it&#8217;s not available from official sources.</p>
<h3>Summary</h3>
<p>In this article, we have seen how Moodle website supports different languages and how to configure these different languages. This feature can be particularly useful while designing courses for students who come from different ethnic backgrounds. Language support can not only make the website more friendlier but also makes it more easy to browse.</p>
<hr size="1" noshade="noshade" />
<p align="left"><strong><span style="font-size: x-small; font-family: Verdana;">This article has been extracted from: <a href="http://www.packtpub.com/learning-moodle-1-9-course-development/book/">Moodle 1.9 E-Learning Course Development</a></span></strong></p>
<table id="table3" border="0" cellspacing="0" cellpadding="4">
<tbody>
<tr>
<td width="48"><img title="Moodle 1.9 E-Learning Course Development" src="http://images.packtpub.com/images/100x123/1847193536.png" border="1" alt="Moodle 1.9 E-Learning Course Development" width="70" height="90" /></td>
<td valign="top"><span style="font-size: x-small; font-family: Verdana;">A complete guide to successful learning using Moodle<br />
</span></p>
<ul> <span style="font-size: x-small; font-family: Verdana;"></p>
<li>Updated for Moodle version 1.9</li>
<li>Straightforward coverage of installing and using the Moodle system</li>
<li>Working with Moodle features in all learning environments</li>
<li>A unique course-based approach focuses your attention on designing well-structured, interactive, and successful courses</li>
<li>Configure site settings, set up the front page, create user accounts, and create courses</li>
<p></span></ul>
<p><span style="font-size: x-small; font-family: Verdana;">For more information, please visit:<br />
<a href="http://www.packtpub.com/learning-moodle-1-9-course-development/book">http://www.PacktPub.com/learning-moodle-1-9-course-development/book</a></span></td>
</tr>
</tbody>
</table>
<hr size="1" noshade="noshade" />
<div><a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?pub=&amp;url=http%3A%2F%2Fsimonjamesclegg.co.uk%2F2009%2F02%2Flanguages-and-language-settings-in-moodle%2F&amp;title=Languages+and+Language+Settings+in+Moodle', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank"><img src="http://s3.addthis.com/button1-bm.gif" width="125" height="16" border="0" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://simonjamesclegg.co.uk/2009/02/languages-and-language-settings-in-moodle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
