Adapted Language Pack
Charles Kelly's Moodle Things

Why do this?

  • You are a language teacher and all your students have the same native language (L1).
  • You want to force your students to use the target language (L2) for things they should understand, but allow them to use their L1 for difficult things.

This is how I did it for teaching English to Japanese students.

  • I got the Japanese language pack.
    • It goes into your MOODLEDATA/lang folder
  • I renamed it to "en_ja_utf8"
  • Inside that folder is a file named "langconfig.php"
    • Change a few things, or just copy mine and paste it in.
    • This is how mine looks now.
<?PHP // $Id$ 
// ORIGINAL: langconfig.php - created with Moodle 1.7 dev (2006060900)
// CK 070402 - English with Japanese Help
// CK 070404 - Corrected some date formats
$string['thislanguage'] = 'English with ܸ Help';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['locale'] = 'en_US.UTF-8';
$string['oldcharset'] = 'ISO-8859-1';
$string['strftimedateshort'] = '%%B %%d';
$string['strftimedayshort'] = '%%A, %%B %%d';
$string['strftimerecent'] = '%%I:%%M %%p,%%b %%d';
$string['strftimedate'] = '%%B %%d, %%Y';
$string['strftimedatetime'] = '%%B %%d, %%Y, %%I:%%M %%p';
$string['strftimedaydate'] = '%%A, %%B %%d, %%Y';
$string['strftimedaydatetime'] = '%%A, %%B %%d, %%Y, %%I:%%M %%p';
$string['strftimerecentfull'] = '%%a, %%b %%d, %%Y, %%I:%%M %%p';

?>

One Slight Problem

  • For the teacher, when viewing "all logs" of a given student, the "hits" image at the top of the page didn't work correctly, if the teacher had this adapted language pack set as the language to use.
  • However, the easy work-around was for teachers to set the langauge pack they used to English.
Page last modified on July 20, 2007, at 12:15 AM
Copyright © 2006-2008 by Charles Kelly
Login