protected function processDefinition($locale, array $definition)
    {
        $definition['locale'] = $locale;
        // The generation script strips all keys that have the same values
        // as the ones in 'en'.
        if ($definition['locale'] != 'en') {
            $definitions = $this->getDefinitions();
            $definition += $definitions['en'];
        }

        return $definition;
    }
protected function processDefinition($locale, array $definition)
    {
        $definition['locale'] = $locale;
        // The generation script strips all keys that have the same values
        // as the ones in 'en'.
        if ($definition['locale'] != 'en') {
            $definitions = $this->getDefinitions();
            $definition += $definitions['en'];
        }

        return $definition;
    }
protected function processDefinition ( $ locale , array $ definition ) { $ definition [ 'locale' ] = $ locale ; // The generation script strips all keys that have the same values // as the ones in 'en'. if ( $ definition [ 'locale' ] != 'en' ) { $ definitions = $ this -> getDefinitions ( ) ; $ definition += $ definitions [ 'en' ] ; } return $ definition ; }
Processes the number format definition for the provided locale.

@param string $locale    The locale.
@param array $definition The definition

@return array The processed definition.
Processes the number format definition for the provided locale .