-
Notifications
You must be signed in to change notification settings - Fork 0
Home
gotardo edited this page Apr 21, 2012
·
11 revisions
i18n is just a simple class to make internationalization easier in your PHP projects.
You can use the class by calling the constructor:
$i18n = new i18n($language);
The .po / .mo files must be placed at
/locale
Please, have a look at index.php file to make an idea.
v0.4 - Adds support for plurals.
v0.3 - Adds support for multiple domains.
v0.2 (Current version)
-
Adds a workaround to avoid the Apache cache.
-
The default domain "i18n" has been changed to "default"
-
Adds support for standard l10n in english.
-
Adds support for some l10n in spanish, french and chinese.
v0.1
- You can easily translate your texts.