Development

#2308 ([PATCH] Culture of module extract is always set to English)

You must first sign up to be able to contribute.

Ticket #2308 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

[PATCH] Culture of module extract is always set to English

Reported by: hubertf Assigned to: fabien
Priority: minor Milestone:
Component: sfI18nExtractPlugin Version:
Keywords: culture Cc: hubertf@scintilla.utwente.nl
Qualification: Unreviewed

Description

in plugins/sfI18nExtractPlugin/lib/sfI18nApplicationExtract.class.php on line 33, you can find:

$moduleExtract->initialize('en', array('module' => $moduleName));

while it should be:

$moduleExtract->initialize($this->culture, array('module' => $moduleName));

When using the extract plugin with the auto-save option, the entries for another culture than 'en' are not inserted in a MySQL trans_unit table. The change above will fix that problem.

Change History

09/30/07 18:37:13 changed by hubertf

  • summary changed from Culture of module extract is always set to English to [PATCH] Culture of module extract is always set to English.

01/14/08 21:24:10 changed by kupokomapa

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

(In [7056]) [sfI18nExtractPlugin] Fixed two bug reports (fixes #2222, fixes #2308)