I have created one xml file with several operations that successfully make cosmetic changes.
The operations listed below, however, do not seem to be working when a new Customer registers. The registration date remains in the default format d/m/Y instead of m-d-Y.
Here is the operation format I have in my test xml file:
Code: Select all
<file name="catalog/language/english/english.php">
<operation>
<search position="replace"><![CDATA[
$_['date_format_short'] = 'd/m/Y';
]]></search>
<add><![CDATA[
$_['date_format_short'] = 'm-d-Y';
]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[
$_['text_home'] = 'Home';
]]></search>
<add><![CDATA[
$_['text_home'] = 'Store Home';
]]></add>
</operation>
</file>
<file name="admin/language/english/english.php">
<operation>
<search position="replace"><![CDATA[
$_['date_format_short'] = 'd/m/Y';
]]></search>
<add><![CDATA[
$_['date_format_short'] = 'm-d-Y';
]]></add>
</operation>
</file>
