Hi,
to reproduce:

  • Create a rule
  • Translate it
  • Create a feature with this rule
  • Change rule (e.g. set to inactive)
  • Revert the feature settings (rules component)

On revert rules config is deleted, and hook_rules_config_delete invokes translation delete (i18n_string_object_remove)

Comments

szato’s picture

Created a patch:
delete translations only on real delete, not on revert.

ptmkenny’s picture

Status: Active » Reviewed & tested by the community

Thanks, this issue was causing me a lot of trouble-- I kept losing translations and I couldn't figure out why.

I can confirm that rules translations that are lost upon reverting a feature containing rules are no longer lost after the patch is applied.

weri’s picture

We had the same problem an this patch fixes it. thanks!!

  • fago committed c88e1d0 on 7.x-2.x authored by szato
    Issue #2478571 by szato, ptmkenny, weri: Rules translations are lost on...
fago’s picture

Status: Reviewed & tested by the community » Fixed

thx, committed.

Status: Fixed » Closed (fixed)

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