public function getTranslation($item, $langcode, $store = null)
    {
        $config = $this->getConfig(null, $store);

        if (!empty($config['translation'][$langcode][$item])) {
            return $config['translation'][$langcode][$item];
        }

        if (isset($config[$item])) {
            return $config[$item];
        }

        return '';
    }
public function getTranslation($item, $langcode, $store = null)
    {
        $config = $this->getConfig(null, $store);

        if (!empty($config['translation'][$langcode][$item])) {
            return $config['translation'][$langcode][$item];
        }

        if (isset($config[$item])) {
            return $config[$item];
        }

        return '';
    }
public function getTranslation ( $ item , $ langcode , $ store = null ) { $ config = $ this -> getConfig ( null , $ store ) ; if ( ! empty ( $ config [ 'translation' ] [ $ langcode ] [ $ item ] ) ) { return $ config [ 'translation' ] [ $ langcode ] [ $ item ] ; } if ( isset ( $ config [ $ item ] ) ) { return $ config [ $ item ] ; } return '' ; }
Returns a translatable store configuration item
@param string $item
@param string $langcode
@param mixed $store
@return string
Returns a translatable store configuration item