How to translate Care2x

The iso code for simplified chinese = "zh" will be used for the examples below. You can also use the chinese traditional "zh-tw" if necessary.

Other language codes are listed at the bottom of this page.

Where to start?

You can start by translating the following files:

/language/en/lang_en_indexframe.php
/language/en/lang_en_startframe.php
/language/en/en_copyrite.php
/language/en/lang_en_stdpass.php
/language/en/lang_en_invalid-access-warning.php
/language/en/en_credits.php
Step 1. Create a new directory "zh" inside the /language/ directory.

Step 2. Copy the above listed files from /language/en/ to /language/zh/

Step 3. Rename the files by replacing the "en_" part with "zh_" .

Step 4. Copy the following files

/language/en/tags.php
/language/en/roots.php
Step 5. Open the "tags.php" file and change the following:

Set formal name of your language. Use the original form, not the "english" form. E.g "Cesky" for Czech language,not "Czech".

$lang_name='English'; => $lang_name='Chinese-simplified';
Set the code used for tagging the language files:

$lang_iso_code='en'; => $lang_iso_code='zh';
Set the character set:
$lang_charset='iso-8859-1' => $lang_charset='gb2312';
Step 6. Open the "roots.php" file and change the ff:
$top_dir='language/en/' => $top_dir='language/zh/';
If you did all correctly, you will notice that after refreshing your browser, the Chinese language item is now in the language selector on the left main menu.

Step 7. Translate the files. Translate only the words inside the quotation marks on the right side of the equal sign.

Sample #1:

$LDSample = 'I am written in english';  =>  $LDSample = 'Ich bin auf Englisch geschrieben';

Sample #2:

$LDHumanBeing = "I am a human being';  =>  $LDHumanBeing = "Hier bin ich Mensch";

What to do next?

You can send a file to admin(at)care2x.com everytime you finished it or you can upload it to the project's CVS and notify admin(at)care2x.com.

Which files to translate next?

lang_en_aufnahme.php
lang_en_departments.php
lang_en_nursing.php
lang_en_doctors.php
lang_en_obstetrics.php
lang_en_editor.php
lang_en_prompt.php
OK, then what next?

You decide which files you translate next.

OK, I've finished all files. What to do next?

Send a colored photo of yours with a short info about yourself (in your language and in english) to admin(at)care2x.com. We will add you to the credits page.

OK, everything sent. What to do next?

You can start creating the control buttons for your language. Please click here for detailed instructions. Use and enjoy your new Care2x.


Other country/language codes

ar = Arabian
bg = Bulgarian
ca = Catalan
cs-iso = Czech (iso)
cs-win1250 = Czech (win1250)
da = Danish
de = German
en = English
es = Spanish
fr = French
gr = Greek
id = Indonesian
it = Italian
ja = Japanese
ko = Korean
nl = Dutch
no = Norwegian
pl = Polish
pt-br = Brazilian-portuguese
pt = Portuguese
ru-koi8r = Russian (koi8)
ru-win1251 = Russian (win1251)
se = Swedish
th = Thai
zh-tw = Chinese traditional, Chinese (big5)
zh = Chinese simplified, Chinese (gb)

©2002,2003, 2004, 2005 Elpidio Latorilla, CARE2X, CARE 2002, www.intellin.org, www.care2x.org,www.care2x.net,www.care2x.com -