Location: PHPKode > projects > Chirp: The Microblog > chirp.v.1.1/docs/doc.10.language.txt
The language files are located in the language 

directory of your Chirp install.

And is named language.XX.php where XX is a 2

letter signifier of your language.  If you want

to create a chinese file then typically Chinese

is signified with a cn.

This file follows all the rules mentioned earlier

when adding information to a variable.

Let's take this registration messaage:

$regmsg15 = 'If you have any further problems, please contact support.';

Notice the elements of this line.  The language is

enclosed in single quotes and the line ends with a 

semicolon.  Every entry must be in this form.  Now

lets say you have a apostrophe in your message like


$regmsg15 = 'Please contact Joe's support.';

This will prevent your script from running because 

php believes that the entry is this

 $regmsg15 = 'Please contact Joe'


And the line does not end with a semicolon but

rather ends with a 

s support.';

So to fix this you must terminate the bogus semicolon

like this

$regmsg15 = 'Please contact Joe\'s support.';

Any time you use a character that you are unsure about

terminate it with a backward slash \.

Once your language file is complete and correct then

go to your chirp admin area and select it. TADA chirp

is now in your language.

As a last note, you can use html, css, and javascript in

the elements of the language file.  Just keep in mind 

that you might need to terminate some of the characters.

Also, since we are using single quotes to wrap the entries

in, if you use double quotes inside the entry they do not

need to be terminated.

Make sure you hit up the forums if you have any further 

Return current item: Chirp: The Microblog