After I installed the latest released version of the 5 branch my overrides all stopped working. I backed it out and they are all fine again. I think it is because the locale is getting set to 'en' in the newer version, which conflicts with this test in the t() function:

  if (function_exists('locale') && $locale != 'en') {
    $string = locale($string);
  }

In other words, the locale function of string overrides never gets called if the locale is en.

Comments

alfaguru’s picture

Title: 5,x-1-5 not working at all for me » 5.x-1-5 not working at all for me

I see that the locale is set to 'xx' rather than 'en' in the latest version of the module in the repository. I'll patch my copy accordingly but the latest release needs to be fixed, too.

robloach’s picture

Priority: Normal » Critical
Status: Active » Postponed (maintainer needs more info)

Does changing it back to 'xx' fix the problem? I've been waiting for confirmation on this until a new release is made. I haven't been able to replicate the problem in either case....

bcn’s picture

I also replied in the other thread (http://drupal.org/node/248284#comment-833761), but yes, changing 'en' back to 'xx' does fix the problem for me.

robloach’s picture

Status: Postponed (maintainer needs more info) » Fixed

5.x-1.6 released. We'll have to find another solution to the lang fix.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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