
** Steps to do to add language support to  Easinstaller **

The first step is registering the language.
Open resources/resource_table.yaml and create a section similar to the ones 
you see.

The example section for English is:

en_US: 
  language_name: "English"
  encoding: "FONTENCODING_ISO_8859_1"
  size: 100
  flags: 0
  face: "helvetica"
  setwidth: "FONTSETWIDTH_DONTCARE"
  slant: "FONTSLANT_REGULAR"
  weight: "FONTWEIGHT_NORMAL"


The word on the first line should be the language key. A good practice is using the
name of your locale. Here in the example it is "en_US".
The 'language_name' is the readable name of your language in English. The remaining 
parameters define the default font for the language, 'encoding' being the most important.

Here is the table of available encoding values:

    FONTENCODING_ISO_8859_1:	ISO-8859-1 character encoding
    FONTENCODING_ISO_8859_2:	ISO-8859-2 character encoding
    FONTENCODING_ISO_8859_3:	ISO-8859-3 character encoding
    FONTENCODING_ISO_8859_4:	ISO-8859-4 character encoding
    FONTENCODING_ISO_8859_5:	ISO-8859-5 character encoding
    FONTENCODING_ISO_8859_6:	ISO-8859-6 character encoding
    FONTENCODING_ISO_8859_7:	ISO-8859-7 character encoding
    FONTENCODING_ISO_8859_8:	ISO-8859-8 character encoding
    FONTENCODING_ISO_8859_9:	ISO-8859-9 character encoding
    FONTENCODING_ISO_8859_10:	ISO-8859-10 character encoding
    FONTENCODING_ISO_8859_11:	ISO-8859-11 character encoding
    FONTENCODING_ISO_8859_13:	ISO-8859-13 character encoding
    FONTENCODING_ISO_8859_14:	ISO-8859-14 character encoding
    FONTENCODING_ISO_8859_15:	ISO-8859-15 character encoding
    FONTENCODING_ISO_8859_16:	ISO-8859-16 character encoding
    FONTENCODING_KOI8:	KOI-8 character encoding
    FONTENCODING_KOI8_R:	Russian
    FONTENCODING_KOI8_U:	Ukrainian
    FONTENCODING_KOI8_UNIFIED:	x
    FONTENCODING_LATIN1:	same as FONTENCODING_ISO_8859_1, Latin 1 (West European)
    FONTENCODING_LATIN2:	same as FONTENCODING_ISO_8859_2, Latin 2 (East European)
    FONTENCODING_LATIN3:	same as FONTENCODING_ISO_8859_3, Latin 3 (South European)
    FONTENCODING_LATIN4:	same as FONTENCODING_ISO_8859_4, Latin 4 (North European)
    FONTENCODING_LATIN5:	same as FONTENCODING_ISO_8859_9, Latin 5 (Turkish)
    FONTENCODING_LATIN6:	same as FONTENCODING_ISO_8859_10, Latin 6 (Nordic)
    FONTENCODING_LATIN7:	same as FONTENCODING_ISO_8859_13, Latin 7 (Baltic Rim)
    FONTENCODING_LATIN8:	same as FONTENCODING_ISO_8859_14, Latin 8 (Celtic)
    FONTENCODING_LATIN9:	same as FONTENCODING_ISO_8859_15, Latin 9 (a.k.a. Latin 0)
    FONTENCODING_LATIN10:	same as FONTENCODING_ISO_8859_16, Latin 10
    FONTENCODING_USASCII:	same as FONTENCODING_ISO_8859_1, Latin 1
    FONTENCODING_WESTEUROPE:	same as FONTENCODING_ISO_8859_1, Latin 1 (West European)
    FONTENCODING_EASTEUROPE:	same as FONTENCODING_ISO_8859_2, Latin 2 (East European)
    FONTENCODING_SOUTHEUROPE:	same as FONTENCODING_ISO_8859_3, Latin 3 (South European)
    FONTENCODING_NORTHEUROPE:	same as FONTENCODING_ISO_8859_4, Latin 4 (North European)
    FONTENCODING_CYRILLIC:	same as FONTENCODING_ISO_8859_5, Cyrillic
    FONTENCODING_RUSSIAN:	same as FONTENCODING_KOI8, Cyrillic
    FONTENCODING_ARABIC:	same as FONTENCODING_ISO_8859_6, Arabic
    FONTENCODING_GREEK:	same as FONTENCODING_ISO_8859_7, Greek
    FONTENCODING_HEBREW:	same as FONTENCODING_ISO_8859_8, Hebrew
    FONTENCODING_TURKISH:	same as FONTENCODING_ISO_8859_9, Latin 5 (Turkish)
    FONTENCODING_NORDIC:	same as FONTENCODING_ISO_8859_10, Latin 6 (Nordic)
    FONTENCODING_THAI:	same as FONTENCODING_ISO_8859_11, Thai
    FONTENCODING_BALTIC:	same as FONTENCODING_ISO_8859_13, Latin 7 (Baltic Rim)
    FONTENCODING_CELTIC:	same as <tt>FONTENCODING_ISO_8859_14, Latin 8 (Celtic)

You can leave other parameters as they appear in "en_US".

The second step is creating the language file. Copy resources/resources.en_US as file 
resources/resources.YOUR_LOCALE, where the extension YOUR_LOCALE should match the
language key in resources/resource_table.yaml. The format of resources files is simple:
each line consists of a key to the left and text to the right . Translate all text 
into your language, leaving the keys untouched.

The third step is adding the name of your language to all resources files. That is,
you will have to add pairs like:

YOUR_LANGUAGE_KEY: "LANGUAGE NAME"

where YOUR_LANGUAGE_KEY is the name of your language, that you have registered in
resources/resource_table.yaml, and "LANGUAGE NAME" is the name of your language
as it is known in the language whose resource file your are filling in. Add such 
pairs to _ALL_ resource files. If you don't know the name of your language in
some language whose resource file your are filling, use the English name of the
language.

