For starters, don't use "index" in the search parameter, use "limit". Even then, with the code you're using, you'll potentially end up with something like (using the English language file as an example):
Code: Select all
$_['text_powered']$_['text_powered'] = '%s © %s'; = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s © %s';
which will obviously cause problems.
But, really, what is it you're trying to achieve? If you want to remove the "Powered by OpenCart" stuff from the language file, the best method is to hard-code it. After all, you're looking at multiple languages, not just a single language.
If you want to use OCMOD, then either:
Code: Select all
<file path="catalog/language/english/common/footer.php">
<operation>
<search limit="1"><![CDATA[$_['text_powered'] = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s © %s';]]></search>
<add position="replace"><![CDATA[$_['text_powered'] = '%s © %s';]]></add>
</operation>
</file>
or:
Code: Select all
<file path="catalog/language/english/common/footer.php">
<operation>
<search limit="1"><![CDATA[Powered By <a href="http://www.opencart.com">OpenCart</a><br /> ]]></search>
<add position="replace"><![CDATA[]]></add>
</operation>
</file>
should provide you with what you seem to want. But, you will need to have a separate <file> section for EACH language file, simply because they are DIFFERENT languages, which means you can't use a wildcard character (*) to make the change in multiple files.