forked from leftypol/leftypol
Started on internationalization (i18n)
This commit is contained in:
parent
e8183e7899
commit
ff730c861b
30 changed files with 2584 additions and 103 deletions
27
inc/contrib/gettext/examples/index.php
Normal file
27
inc/contrib/gettext/examples/index.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>PHP-gettext examples</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>PHP-gettext</h1>
|
||||
|
||||
<h2>Introduction</h2>
|
||||
<p>PHP-gettext provides a simple gettext replacement that works independently from the system's gettext abilities.
|
||||
It can read MO files and use them for translating strings.</p>
|
||||
<p>This version has the ability to cache all strings and translations to speed up the string lookup.
|
||||
While the cache is enabled by default, it can be switched off with the second parameter in the constructor (e.g. when using very large MO files
|
||||
that you don't want to keep in memory)</p>
|
||||
|
||||
|
||||
<h2>Examples</h2>
|
||||
<ul>
|
||||
<li><a href="pigs_dropin.php">PHP-gettext as a dropin replacement</a></li>
|
||||
<li><a href="pigs_fallback.php">PHP-gettext as a fallback solution</a></li>
|
||||
</ul>
|
||||
|
||||
<hr />
|
||||
<p>Copyright (c) 2003-2006 Danilo Segan</p>
|
||||
<p>Copyright (c) 2005-2006 Steven Armstrong</p>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue