Not_Translated_Interface_Locale_Options - Version 1.0

Version Notes

If you have ideas for improvements or find bugs, please send them to pektsekye@gmail.com

Download this release

Release Info

Developer Magento Core Team
Extension Not_Translated_Interface_Locale_Options
Version 1.0
Comparing to
See all releases


Version 1.0

app/code/local/Pektsekye/Adminhtml/Block/Page/Footer.php ADDED
@@ -0,0 +1,26 @@
1
+ <?php
2
+ /*
3
+ Written by pektsekye@gmail.com on Tuesday Jul 21 2009
4
+ version 1.0
5
+ */
6
+
7
+ class Pektsekye_Adminhtml_Block_Page_Footer extends Mage_Adminhtml_Block_Page_Footer
8
+ {
9
+
10
+ /**
11
+ * Override Mage Adminhtml footer block
12
+ */
13
+ public function getLanguageSelect()
14
+ {
15
+ $html = $this->getLayout()->createBlock('adminhtml/html_select')
16
+ ->setName('locale')
17
+ ->setId('interface_locale')
18
+ ->setTitle(Mage::helper('page')->__('Interface Language'))
19
+ ->setExtraParams('style="width:200px"')
20
+ ->setValue(Mage::app()->getLocale()->getLocaleCode())
21
+ ->setOptions(Mage::app()->getLocale()->getOptionLocales())
22
+ ->getHtml();
23
+ return $html;
24
+ }
25
+
26
+ }
app/code/local/Pektsekye/Adminhtml/etc/config.xml ADDED
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Pektsekye_Adminhtml>
5
+ <version>0.1.0</version>
6
+ </Pektsekye_Adminhtml>
7
+ </modules>
8
+ <global>
9
+ <blocks>
10
+ <adminhtml>
11
+ <rewrite>
12
+ <page_footer>Pektsekye_Adminhtml_Block_Page_Footer</page_footer>
13
+ </rewrite>
14
+ </adminhtml>
15
+ </blocks>
16
+ </global>
17
+ </config>
app/etc/modules/Pektsekye_Adminhtml.xml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Pektsekye_Adminhtml>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </Pektsekye_Adminhtml>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Not_Translated_Interface_Locale_Options</name>
4
+ <version>1.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Make Interface locale options not translated in the admin panel.</summary>
10
+ <description>This extension makes Interface locale options not translated in the admin panel.
11
+
12
+ So all the "Interface Locale:" select options are displayed in English at the bottom of the admin panel page.
13
+
14
+ It overrides the getLanguageSelect() function in the Mage_Adminhtml_Block_Page_Footer class.
15
+
16
+
17
+ Note: It solves the
18
+
19
+ Warning: simplexml_load_file() .. out of memory error ... in ... lib/Zend/Locale/Data.php on line 146
20
+
21
+ problem on Hostgator shared hosting</description>
22
+ <notes>If you have ideas for improvements or find bugs, please send them to pektsekye@gmail.com</notes>
23
+ <authors><author><name>Stanislav</name><user>auto-converted</user><email>pektsekye@gmail.com</email></author></authors>
24
+ <date>2009-07-21</date>
25
+ <time>18:05:21</time>
26
+ <contents><target name="mageetc"><dir name="modules"><file name="Pektsekye_Adminhtml.xml" hash="8e81a4933a734632473251ed89534dde"/></dir></target><target name="magelocal"><dir name="Pektsekye"><dir name="Adminhtml"><dir name="Block"><dir name="Page"><file name="Footer.php" hash="4d8a5ce910d38e5a68cac7ad436a40f8"/></dir></dir><dir name="etc"><file name="config.xml" hash="25feb8c371018591fb47510676f8fac5"/></dir></dir></dir></target></contents>
27
+ <compatible/>
28
+ <dependencies/>
29
+ </package>