src/Asset/Asset.php
public function localize(string $name, array $data): AssetInterface
    {
        $this->localize[$name] = $data;

        return $this;
    }
public function localize(string $name, array $data): AssetInterface
    {
        $this->localize[$name] = $data;

        return $this;
    }
public function localize ( string $ name , array $ data ) : AssetInterface { $ this -> localize [ $ name ] = $ data ; return $ this ; }
Localize the asset.

@param string $name
@param array  $data

@return AssetInterface
Localize the asset .