i want to extract the translation for a modul, so i choose
the option to: (on the end of the extraction page)

Include translations
Include translations of strings in the file generated. Not applicable for language independent templates.

and get:

Fatal error: Call to undefined function _locale_export_string() in /kunden/150136_80687/km/sites/all/modules/potx/potx.inc on line 333

Comments

miles28’s picture

I've got the same issue.

liegerad’s picture

In drupal 6 the function is available in locale.inc, but not in drupal 5?
Just copy it from http://api.drupal.org/api/function/_locale_export_string/6
As a workaround...

gábor hojtsy’s picture

Status: Active » Fixed

_locale_export_string() was known as _locale_export_print() in Drupal 5. I fixed this in the latest development version of potx module. Thanks for the report, sorry for this bug.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.