I've got the following error message:

The translation file contains an error: the plural formula could not be parsed.

Ok, but which file contains that bad formula? :)

Comments

gábor hojtsy’s picture

Project: Auto locale import » Drupal core
Version: » 5.x-dev
Component: Code » locale.module

This is an issue of locale.module, since locale.module generates this error message. Autolocale has nothing to do with this.

gábor hojtsy’s picture

Status: Active » Postponed (maintainer needs more info)

Could you test with the latest Drupal 5.x tarball? By looking at the 6.x codebase, I don't see where there could be a problem, because $file is passed down to _locale_import_message() so the file name is included in the error message.

aries’s picture

Sadly, the error is still exists. For the future, that would be nice if the import can report the problematic string in the error message.

gábor hojtsy’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

This was fixed for Drupal 7 at #522176: fix for unhelpful error message and being reviewed for Drupal 6. Drupal 5 is unsupported so will not get this fix. Closing as duplicate.