Releases for sf 1.0
| Version |
License |
API |
Released |
|
1.0.5stable
|
MIT license |
1.0.0stable
|
14/01/2008 |
|
1.0.4stable
|
MIT license |
1.0.0stable
|
25/06/2007 |
|
1.0.3stable
|
MIT license |
1.0.0stable
|
25/06/2007 |
|
1.0.2stable
|
MIT license |
1.0.0stable
|
25/06/2007 |
|
1.0.1stable
|
MIT license |
1.0.0stable
|
25/06/2007 |
|
1.0.0stable
|
MIT license |
1.0.0stable
|
25/06/2007 |
Changelog for release 1.0.5 - 14/01/2008
Not available
Other releases
Release 1.0.5 - 14/01/2008
Not available
Release 1.0.4 - 25/06/2007
Not available
Release 1.0.3 - 25/06/2007
Not available
Release 1.0.2 - 25/06/2007
Not available
Release 1.0.1 - 25/06/2007
Not available
Release 1.0.0 - 25/06/2007
Not available
sfI18nExtract plugin
The sfI18nExtract is a symfony plugin that provides i18n strings extraction.
This plugin is a backport of a symfony 1.1 native feature.
Installation
Usage
The i18n-extract task parses a symfony application to extract all the strings that need to be translated.
It takes an application and a culture as its arguments:
php symfony i18n-extract frontend en
By default, the task does not modify your dictionaries, it just outputs the number of new and old i18n strings. To append the new strings to your dictionary, you can pass the --auto-save option:
php symfony i18n-extract --auto-save frontend en
You can also delete old strings automatically by passing the --auto-delete option:
php symfony i18n-extract --auto-save --auto-delete frontend en
Known limitations
- Can only works with the default "messages" catalogue
- For file backends (XLIFF and gettext), it only saves/deletes strings in the
apps/myapp/i18n/messages.XX.xml file
Patch
The patches needed to convert the symfony 1.1 implementation to the one used in this plugin can be obtained with the 2 following commands:
svn diff http://svn.symfony-project.com/trunk/lib/i18n/extract/ http://svn.symfony-project.com/plugins/sfI18nExtractPlugin/lib
svn diff http://svn.symfony-project.com/trunk/data/tasks/sfPakeI18N.php http://svn.symfony-project.com/plugins/sfI18nExtractPlugin/data/tasks/sfPakeI18N.php