Development

Changeset 4098

You must first sign up to be able to contribute.

Changeset 4098

Show
Ignore:
Timestamp:
05/24/07 16:53:10 (6 years ago)
Author:
fabien
Message:

fixed culture problem in sfI18N

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/i18n/sfI18N.class.php

    r2769 r4098  
    5151    $this->messageSource = $this->createMessageSource($dir); 
    5252    $this->messageSource->setCulture($culture); 
     53    $this->messageFormat = $this->createMessageFormat($this->messageSource); 
    5354 
    54     $this->messageFormat = $this->createMessageFormat($this->messageSource); 
     55    $this->globalMessageSource->setCulture($culture); 
     56    $this->globalMessageFormat = $this->createMessageFormat($this->globalMessageSource); 
    5557  } 
    5658 
     
    100102    { 
    101103      $this->messageSource->setCulture($culture); 
     104      $this->messageFormat = $this->createMessageFormat($this->messageSource); 
    102105    } 
    103106 
    104107    $this->globalMessageSource->setCulture($culture); 
     108    $this->globalMessageFormat = $this->createMessageFormat($this->globalMessageSource); 
    105109  } 
    106110