Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/intro.gettext.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.gettext.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'intro.gettext.php',
1 => 'Introduction',
),
'up' =>
array (
0 => 'book.gettext.php',
1 => 'Gettext',
),
'prev' =>
array (
0 => 'book.gettext.php',
1 => 'Gettext',
),
'next' =>
array (
0 => 'gettext.setup.php',
1 => 'Installing/Configuring',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="intro.gettext" class="preface">
<h1 class="title">Introduction</h1>
<p class="simpara">
The gettext functions implement an NLS (Native Language Support)
API which can be used to internationalize your PHP applications.
Please see the gettext documentation for your system for a thorough
explanation of these functions or view the docs at
<a href="http://www.gnu.org/software/gettext/manual/gettext.html" class="link external">» http://www.gnu.org/software/gettext/manual/gettext.html</a>.
</p>
</div><?php manual_footer(); ?>