» Version | » Information |
---|---|
2010-12-05 stable |
|
2010-10-25 stable |
|
2008-11-14 stable |
|
2008-05-06 stable |
|
2008-02-23 beta |
|
2007-12-05 beta |
|
2007-11-25 beta |
|
2007-07-29 beta |
|
2006-12-15 beta |
|
2006-09-07 beta |
|
2006-07-12 beta |
|
2006-02-22 beta |
|
2005-10-04 beta |
|
2005-06-28 beta |
|
2005-01-30 beta |
|
2004-12-24 beta |
|
2004-11-20 beta |
|
2.0.0beta3 |
Easy InstallNot sure? Get more info. pear install Translation2-2.0.0beta3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/Translation2-2.0.0beta3 Release date: 2004-11-11 12:33 UTC Release state: beta Release uploaded by: quipo Changelog: - Welcome to the new developers, Ian Eure and Michael Wallner - The last release contained an old gettext driver (bug #2503) (ieure) - Many portability fixes applied to the database containers (thanks to Ian Eure and Xavier Lembo for their suggestions and patches) - Minor changes to the table definitions for better portability (lowercase field names, VARCHAR instead of CHAR, bigger field size) - setLang() now returns an error if called with an unknown $langID (bug #2498). - Added $cleaningFrequency option to the CacheLiteFunction to implement statistic cache cleaning - Added Translation2_Admin::cleanCache() method to clean the cache on demand. It is automatically triggered after a change if $options['autoCleanCache'] is TRUE. - Big cleanup of the DB and Admin_DB containers. See CVS changelog for details. (ieure) - Added update() method to Translation2_Admin. This is a BC break; you used to be able to update strings with add(). This is no longer possible, use update(). (ieure) - Re-added a check in add() to see if an update() is needed instead of an insert - String ID columns are created as type TEXT to support gettext-style string IDs. (ieure) - Reflect the changes made to the DB container into the MDB and MDB2 containers too, plus other minor fixes/optimizations. - strings_default_table may use %s to represent the language name. You may now have one table per language without having to explicitly specify them all. (ieure) - DefaultText decorator has new getStringID() method, which will return the string which was requested if no stringID exists. This mirrors the gettext() semantics. (ieure) - Added Admin_Decorator class, which allows you to create Decorators for Translation2_Admin. (ieure) - New 'Autoadd' Admin Decorator, which automatically adds requested strings. (ieure) - Removed translate(), added getStringID(). You can mimic the old behaviour in two steps: $stringID = $tr->getStringID('mystring', 'mypage'); $translatedString = $tr->get($stringID, 'mypage', $otherLangID); - Major cleanup of the gettext container and added some examples (mike) - removeLang() was missing. Fixed. - The gettext container no longer require the gettext extension (thanks to Sergey Korotkov); it is used when loaded, though, since it's faster. - Both .mo and .po files are valid data sources for the gettext container (Sergey Korotkov) - New Iconv decorator based on the one written by Sergey Korotkov - Added a new "encoding" column to the langsAvail table - New xml container by Olivier Guilyardi Dependencies:
|
2004-10-04 beta |
|
2004-05-05 beta |
|
2004-02-22 alpha |
|
2004-01-20 alpha |