original_string: protected function replaceSymbols($value)
      {
          $language = $this->translator->getCurrentLanguage();
  
          if (!isset($this->symbols[$language])) {
              $this->symbols[$language] = array(
                  '.' => $this->translator->translate('Intl_NumberSymbolDecimal'),
                  ',' => $this->translator->translate('Intl_NumberSymbolGroup'),
                  '+' => $this->translator->translate('Intl_NumberSymbolPlus'),
                  '-' => $this->translator->translate('Intl_NumberSymbolMinus'),
                  '%' => $this->translator->translate('Intl_NumberSymbolPercent'),
              );
          }
  
          return strtr($value, $this->symbols[$language]);
      }
code: protected function replaceSymbols($value)
      {
          $language = $this->translator->getCurrentLanguage();
  
          if (!isset($this->symbols[$language])) {
              $this->symbols[$language] = array(
                  '.' => $this->translator->translate('Intl_NumberSymbolDecimal'),
                  ',' => $this->translator->translate('Intl_NumberSymbolGroup'),
                  '+' => $this->translator->translate('Intl_NumberSymbolPlus'),
                  '-' => $this->translator->translate('Intl_NumberSymbolMinus'),
                  '%' => $this->translator->translate('Intl_NumberSymbolPercent'),
              );
          }
  
          return strtr($value, $this->symbols[$language]);
      }
code_tokens: protected function replaceSymbols ( $ value ) { $ language = $ this -> translator -> getCurrentLanguage ( ) ; if ( ! isset ( $ this -> symbols [ $ language ] ) ) { $ this -> symbols [ $ language ] = array ( '.' => $ this -> translator -> translate ( 'Intl_NumberSymbolDecimal' ) , ',' => $ this -> translator -> translate ( 'Intl_NumberSymbolGroup' ) , '+' => $ this -> translator -> translate ( 'Intl_NumberSymbolPlus' ) , '-' => $ this -> translator -> translate ( 'Intl_NumberSymbolMinus' ) , '%' => $ this -> translator -> translate ( 'Intl_NumberSymbolPercent' ) , ) ; } return strtr ( $ value , $ this -> symbols [ $ language ] ) ; }
docstring: Replaces number symbols with their localized equivalents.
  
  @param string $value The value being formatted.
  
  @return string
  
  @see http://cldr.unicode.org/translation/number-symbols
docstring_tokens: Replaces number symbols with their localized equivalents .