Changeset 2470 for trunk/framework/I18N/TGlobalization.php
- Timestamp:
- 06/30/2008 12:04:42 PM (5 months ago)
- Files:
-
- 1 modified
-
trunk/framework/I18N/TGlobalization.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/framework/I18N/TGlobalization.php
r2112 r2470 156 156 * Sets the translation configuration. Example configuration: 157 157 * <code> 158 * $config['type'] = 'XLIFF'; //XLIFF, gettext, mysql or sqlite 159 * $config['source'] = 'Path.to.directory'; //or database connection string 158 * $config['type'] = 'XLIFF'; //XLIFF, gettext, Database or MySQL (deprecated) 159 * $config['source'] = 'Path.to.directory'; // for types XLIFF and gettext 160 * $config['source'] = 'connectionId'; // for type Database 161 * $config['source'] = 'mysql://user:pw@host/db'; // for type MySQL (deprecated) 160 162 * $config['catalogue'] = 'messages'; //default catalog 161 163 * $config['autosave'] = 'true'; //save untranslated message
