A guide for the translators plus the set of files to build new language packs from.
Author: Oliver C.
Submitted by: Kilandor
Date: 2007-06-29 05:48
Comments: (0)
Ratings:
 
Warnings :

- Submissions that do not follow the guidelines from the manual will be REJECTED !
- Packs duplicating an existing language pack will be REJECTED !
- Packs featuring more (or less) files than this localization kit will be REJECTED !

Existing language packs are listed here(Neocrome) and here(Seditio Forge).


Before starting :

First have a look at the in the "Download" section, then tab "Localization" section, maybe it's yet available.

If there's no pack yet for your language, it's highly advised to start a thread in the forums, General Discussion, to tell the other users that you're about to create a new localization pack, maybe you'll get people willing to help, or some have part of the work yet done.

Notice that language packs won't fully translate the non-international skins !
To get a fully translated website you'll have to first apply a localization pack translating all the texts from Seditio, and then translate the words in the skin itself, in all TPL files.


Localization kit :

Get the localization kit at the bottom of this page.
Any work based on anything else than this pack will be rejected !


Find your language code :


Open /system/functions.php, scroll down to the very bottom, and near the end spot the 2 chars code for your language. If it's not listed in the first short list, pick-up the code from the big list of all countries above, it will work fine aswell.

Sample, for french its "fr" (without the quotes).
Below we'll take as sample a french localization of LDU.


Translate the 3 main list of words :

Rename the folder /system/lang/en into /system/lang/fr
Then translate all words in :

  • main.lang.php

  • message.lang.php

  • admin.lang.php



You must translate the words between the double quotes, don't change the codes before the symbol '='

Sample, in main.lang.php :

$L['Active'] = "Active";

... will become :

$L['Active'] = "Actif";

And so on, until you're done with all the words.


Translate the plugins :

To get a complete localization pack, you also have to translate some files for the plugins.
Only translate the default and official plugins, do not add any 3rd party materials or it will be rejected.

Sample, to translate the "forumstats" plugin :

Rename : plugins/forumstats./lang/forumstats.en.lang.php
... into : plugins/forumstats./lang/forumstats.fr.lang.php

And translate it, and go on with all the other plugins.


Create the Zip file :

Once you're all done, edit the info-file _lang_readme.txt, and fill up details about you. Then pack all your work into a zip file, including path to files so it's easier for other users to install.


Share !

Once all is done, upload the file to a temp webspace, and submit your work here(Neocrome) and here(Seditio Forge).
At the top of this page there's a link to submit new packs.
We'll then mirror the file on our server so you don't have to worry about the traffic, and also to avoid dead links.
Copyright © 2008 Domain.Com. All Rights Reserved.
Page created in 0.535 seconds