Language Functionality
----------------------

1)	Introduction

Initially implement at php level.  A lang/ directory
has been added where all the language specific files are located.

Only OpenDb wide language support is provided, with update scripts
to change the system data for descriptions and prompts to be the
language required.

lang/$_OPENDB_LANGUAGE.inc.php type files will be located here.

2) Language packs

The lang/english.inc.php and patch/language/english.sql are to
be used as templates for new language packs.  Make a copy of
each of these and replace the 'english' part with your 
language name.  
	
	*** Ensure the language names are all legal filenames ***

2.2) lang/english.inc.php

The lang/english.inc.php script consists of a lot (500 lines)
of $lang_var['...'] array variables.  Each one of these will
need to be translated.  Please be sure to leave the {varname}
UNTRANSLATED, as these will be replaced in context by php
at runtime.  In may cases the {varname} will actually expand
to another $lang_var['...'], but not necessarily.  For instance
it may translate to a $s_item_type, or a variable in the
include/config.php file, such as $CONFIG_VARS['site.admin_name'].

2.3) patch/language/english.sql

Most of the statements in this file are UPDATE statements for:

	Table   					Columns
	-----						-------
	s_item_type					title_prompt,description
	s_attribute_type			prompt,description,input_type
	s_item_attribute_type		prompt
	s_attribute_type_lookup		display


3) 	Notes

Scripts which have not been converted:
	. patch.php
	. patch/*
	. admin/*

None of the logfile("..."); calls will be internationalised at this
stage, thus the default keywords in logfile will be left as is, because
all the logfile information will be in english.  This may change later
on, but not for the moment.  The scripts that are affected are:

	. login.php
	. logout.php
	. item_borrow.php
	. Many of the scripts in functions directory.




