Multilingual Instructions
ClassWeb Multilingual Instructions

## Acquire language file
- Make sure the language file is located in the base classweb directory as it
  will be called by two require files (language.php and language.pl -- both
  to handle their respective programming languages).
- Language file should be in the form lang-$LANGUAGE.inc (example: English
  is lang-eng.inc)

## Set language in ClassWeb
- The customize.inc file in the base classweb directory has a language
  variable named $LANGUAGE.  Set the language to any available language.
  (example: English is $LANGUAGE="eng";)
- NOTE: There is also another variable named $LANG used for surveys located
  in /classweb/phpadmin/lang directory, but we haven't explored into this
  much, as it was added by a different contributor to ClassWeb.
- There are also other language files that translate other added features of
  ClassWeb.  These files are described more in the default English language
  file (Link: lang-eng.inc).
  * To enable a language for Webjeff's Filemanager, you need to open and 
    edit /classweb/phpadmin/file.php.  Set the desired language variable
    after you have a complete translated language file that corresponds to
    the filemanager.
  * To enable a language for the PHPGen registrar functions, you need to
    open and edit each necessary file in /classes/registrar directory and 
    require the new language file rather than the default English.php3 file.
  * To enable a language for the XML-based survey, you need to just create
    a new language survey version and set the $LANG variable in customize.inc
    to match the new language survey file.

## Important Notes:
- The tutorial included in ClassWeb 2.03 is an html file in English.  It
  serves two purposes: to be used as an English ClassWeb tutorial and to
  serve as a model in the case where one might choose to translate it to
  another language.  In any case, it is located in the help directory
  under the classes directory.
- Make sure you translate the variables in customize.inc as well when using
  a different language.