Development

#3109 ([1.1] I18n extracting task handles only XLIFF format)

You must first sign up to be able to contribute.

Ticket #3109 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

[1.1] I18n extracting task handles only XLIFF format

Reported by: nicolas Assigned to: fabien
Priority: major Milestone: 1.1.0
Component: tasks Version: 1.1.0 DEV
Keywords: i18n, extract Cc:
Qualification: Unreviewed

Description

The i18n:extract task only handles and force XLIFF format by default, seeing this line in the sfI18nExtractTask.class.php file:

    $extract = new sfI18nApplicationExtract(new sfI18N($this->configuration, new sfNoCache()), $arguments['culture']);

Here we can see that the sfI18N object is created without any source format in the option array (just the culture). The task should read the factories.yml configuration and extract from it several options to instanciate the object correctly, includinf the source format.

At least, the task should throw an exception if it is unable to extract strings from other formats than XLIFF files.

Change History

03/19/08 18:39:23 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [7982]) fixed i18n:extract to take factories.yml configuration into account (closes #3109)

03/19/08 18:39:40 changed by fabien

  • milestone set to 1.1.0.