Adding or changing localazation files.
======================================

Each language is in it's own abbreivated directory.

For instance, en is english, and es is spanish.

If you wish to add a new language, make an new directory
in the modules/locale directory this should be an abbreivation
of the language.

Next copy all of the files from modules/locale/templates/ into 
the new directory you created.

Next you can edit each file and translate the english to your language.

Make SURE NOT to change the $Lang section, only change the values in quotes.

Once that is complete you can edit the main configuration.

Look for the section mentioning languages.

You will see:

$CONFIG[Admin_Lang_Allow] = "true";

If you wish this new language to be the only language available, set

$CONFIG[Admin_Lang_Allow] = "true";

 to:

$CONFIG[Admin_Lang_Allow] = "false";

if not then leave it set to true.


Next look for :

$CONFIG[Admin_Lang_Types] =  array("en:English", "de:Deutsch", "es:Espaol", "fi:Suomi", "fr:Fran&ccedil;ais");

Or something similar. Add your new language to it. You can do so by simply adding the  abbreivation with a colon,
and then the full translated name of your language. For instance, spanish would look like this:

"es:Espaol"

next follow the same format and add it to $CONFIG[Admin_Lang_Types]


Almost done, now look for :

$CONFIG[Admin_Lang_Default]

in the configuration file.

Set $CONFIG[Admin_Lang_Default] to the abbreivation of what ever language you want to be the default.

Thats it your done. You have successfully added a new translation.


MWChat would love it if you would send us the directory of translated files so we can make them available in the next version!

 
You can send your translations to murley@appindex.net


Thanks for contributing!

