FLP-i18n (Flaimo's Little Package) is a collection of PHP classes for internationalization. It formats date and time strings, replaces keywords, converts measurement units between SI and the US Customary System, and more.
|Tags||Software Development Internationalization Libraries php classes|
|Operating Systems||OS Independent|
Release Notes: Some minor bugs were corrected and the error handling was completely changed. Non-fatal errors are now caught with try/throw/catch constructs. Gettext bugs were corrected, a new backend translator class was added for SQLite, and PHPDoc comments were reintroduced.
Release Notes: First PHP 5 release (won't work on PHP 4). The structure of the classes has been improved. There is a new easy way of adding your own translation backend classes though implementing interfaces. Caching for translation strings has been added to the “Text” and “MySQL” modus to improve speed.
Release Notes: Some code cleanup and some speed improvements when using the filterSpecialWords() function. The wordFilter() function has been enhanced.
Release Notes: The FormatDate class was finally rewritten so the formating options can be set in the l10n.ini file. A bug concerning the changeLocale method was fixed, and some minor code corrections were made.
Release Notes: If the shmop extention is installed, shared memory can be used to store and read the settings from all the ini files. This way they donrt have to be read with every pagecall. The shared memory function is not enabled by default; for that you have to set the $use_shared_mem variable in the I18N class to TRUE. A couple of variables and functions were renamed so it comes closer to the PEAR coding standards. All user settings were removed from the i18n_settings.ini file, since they normally don't have to be changed. The getLastUpdateDate() method was also redesigned to reduce DB queries and file access.