Hello,

When trying to look at a diff of a feature that uses Features Translation, I'm getting the following PHP error:

Fatal error: Call to undefined function _locale_import_parse_quoted() in features_translations.module

Comments

infojunkie’s picture

Committed a fix to the latest dev. Please try and let me know if it fixes the error.

infojunkie’s picture

Status: Active » Fixed
markus_petrux’s picture

Wow, thanks for the super quick response!

That do not work, though. It seems to me this method to include locale.inc will do better:

include_once DRUPAL_ROOT . '/includes/locale.inc';
markus_petrux’s picture

Status: Fixed » Active

infojunkie’s picture

Status: Active » Fixed

Sorry about that: I was loading the wrong file. Please try now.

markus_petrux’s picture

Status: Fixed » Active

hmm... right included file in wrong place?

  • infojunkie committed 4dde286 on 7.x-1.x
    Load locale.inc, right one, I swear #2299627
    
infojunkie’s picture

Lol! I guess I am not focusing right today. Plus, I am unable to reproduce this on my test machine. So I committed one more fix - if that doesn't work, please submit your patch. And I'm not marking as fixed either. Please try first and mark as fixed if it works :-)

markus_petrux’s picture

Status: Active » Fixed

It works now. Thank you! :)

Status: Fixed » Closed (fixed)

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