Blame | Letzte Änderung | Log anzeigen | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1"><LINK REL="Start" HREF="index.html"><LINK REL="Contents" HREF="toc.html"><LINK REL="Prev" HREF="52Includedlocalizederrormessages.html"><LINK REL="Next" HREF="6UnderstandingtheJpGraphcachingsystem.html"><STYLE TYPE="text/css"><!--BODY { font-family: serif }H1 { font-family: sans-serif }H2 { font-family: sans-serif }H3 { font-family: sans-serif }H4 { font-family: sans-serif }H5 { font-family: sans-serif }H6 { font-family: sans-serif }SUB { font-size: smaller }SUP { font-size: smaller }PRE { font-family: monospace }A { text-decoration: none }--></STYLE></HEAD><BODY><A HREF="toc.html">Contents</A><A HREF="52Includedlocalizederrormessages.html">Previous</A><A HREF="6UnderstandingtheJpGraphcachingsystem.html">Next</A><HR NOSHADE><H2><A NAME="5_3">5.3 Creating your own language resource file</A></H2>All error messages are stored in an array with a specific index thatcannot be changed. This index is used in the library to reference aspecific error message. Since error messages can also have additionalparameters the error messages also includes count that specifies howmany arguments can be handled.<P> The arguments are formatted in the error text in the same way asparameters in the printf() family of functions.</P><P> To create your own localized error resource file You should copy the"en.inc.php" to a temporary file, rename it for localem and thentranslate each error message to Your language of choice. Make sure thefile is stored under the lang/ catalogue and You are ready to use yournew locale.</P><HR NOSHADE><A HREF="toc.html">Contents</A><A HREF="52Includedlocalizederrormessages.html">Previous</A><A HREF="6UnderstandingtheJpGraphcachingsystem.html">Next</A></BODY></HTML>