Google_Translator_For_Magento - Version 1.0.0.3

Version Notes

Second Stable Release

Download this release

Release Info

Developer Zealousweb Technologies Pvt Ltd.
Extension Google_Translator_For_Magento
Version 1.0.0.3
Comparing to
See all releases


Code changes from version 1.0.0.2 to 1.0.0.3

app/code/community/ZealousWeb/GTranslator/Model/System/Config/Source/Language.php CHANGED
@@ -24,9 +24,9 @@ class ZealousWeb_GTranslator_Model_System_Config_Source_Language
24
  array('label' => 'Bosnian','value' => 'bs'),
25
  array('label' => 'Bulgarian','value' => 'bg'),
26
  array('label' => 'Catalan','value' => 'ca'),
27
- array('label' => 'Cebuano','value' => 'ceb'),
28
  array('label' => 'Chinese','value' => 'zh-CN'),
29
- array('label' => 'Chinese (Traditional)','value' => 'zh-TW'),
30
  array('label' => 'Croatian','value' => 'hr'),
31
  array('label' => 'Czech','value' => 'cs'),
32
  array('label' => 'Danish','value' => 'da'),
24
  array('label' => 'Bosnian','value' => 'bs'),
25
  array('label' => 'Bulgarian','value' => 'bg'),
26
  array('label' => 'Catalan','value' => 'ca'),
27
+ array('label' => 'Cebuano','value' => 'ceb'),
28
  array('label' => 'Chinese','value' => 'zh-CN'),
29
+ array('label' => 'Chinese (Traditional)','value' => 'zh-TW'),
30
  array('label' => 'Croatian','value' => 'hr'),
31
  array('label' => 'Czech','value' => 'cs'),
32
  array('label' => 'Danish','value' => 'da'),
app/design/frontend/base/default/template/gtranslator/language.phtml CHANGED
@@ -13,7 +13,7 @@
13
  <div id="google_translate_element"></div><script type="text/javascript">
14
  function googleTranslateElementInit()
15
  {
16
- new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: '<?php echo strtolower(Mage::getStoreConfig('gtranslateconfiguration/gtranslate/selectlanguage')); ?>', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
17
  }
18
  </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
19
  <?php endif;?>
13
  <div id="google_translate_element"></div><script type="text/javascript">
14
  function googleTranslateElementInit()
15
  {
16
+ new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: '<?php echo Mage::getStoreConfig('gtranslateconfiguration/gtranslate/selectlanguage'); ?>', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false, multilanguagePage: true}, 'google_translate_element');
17
  }
18
  </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
19
  <?php endif;?>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Google_Translator_For_Magento</name>
4
- <version>1.0.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL-3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Use Google Translate API to convert the Store in multiple Language.</summary>
10
  <description>This Extension is useful for multilingual magento store where we can use Google Translate API instead of Multiple language Store.</description>
11
- <notes>First Stable Release</notes>
12
  <authors><author><name>ZealousWeb Technologies Pvt Ltd.</name><user>ZealousWeb</user><email>magento@zealousweb.com</email></author></authors>
13
- <date>2015-06-17</date>
14
- <time>09:59:11</time>
15
- <contents><target name="magecommunity"><dir name="ZealousWeb"><dir name="GTranslator"><dir name="Helper"><file name="Data.php" hash="727a5912e65a885a3b3047b109dc3045"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Language.php" hash="f7d110546117b234440614c275cf278e"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="1ad913f40716786c93477802e0e52529"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c3c33b87e5ceb1b1569a93c30e66ab48"/><file name="config.xml" hash="3666986c1c09523c08b7792d8ada7890"/><file name="system.xml" hash="8869977539416cd2a50749d3b7b82ded"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="gtranslator"><file name="index.phtml" hash="d7e9813ff081253125bb72b1754cb22d"/><file name="language.phtml" hash="e06142ed1bb2be4a21070ee2fccea45c"/></dir></dir><dir name="layout"><file name="gtranslator.xml" hash="7fe1b85e2eb23573deb9d769604b2e84"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="gtrasnlator.css" hash="a12c87e82e21e6dd0c2e7b55070efefc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZealousWeb_GTranslator.xml" hash="1b2cb54796ca09835a7e1cfcfe7e8899"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Google_Translator_For_Magento</name>
4
+ <version>1.0.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL-3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Use Google Translate API to convert the Store in multiple Language.</summary>
10
  <description>This Extension is useful for multilingual magento store where we can use Google Translate API instead of Multiple language Store.</description>
11
+ <notes>Second Stable Release</notes>
12
  <authors><author><name>ZealousWeb Technologies Pvt Ltd.</name><user>ZealousWeb</user><email>magento@zealousweb.com</email></author></authors>
13
+ <date>2015-08-13</date>
14
+ <time>09:47:46</time>
15
+ <contents><target name="magecommunity"><dir name="ZealousWeb"><dir name="GTranslator"><dir name="Helper"><file name="Data.php" hash="727a5912e65a885a3b3047b109dc3045"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Language.php" hash="2ea9e86fca642e8e0a8dc778cce14e46"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="1ad913f40716786c93477802e0e52529"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c3c33b87e5ceb1b1569a93c30e66ab48"/><file name="config.xml" hash="3666986c1c09523c08b7792d8ada7890"/><file name="system.xml" hash="8869977539416cd2a50749d3b7b82ded"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="gtranslator"><file name="index.phtml" hash="d7e9813ff081253125bb72b1754cb22d"/><file name="language.phtml" hash="3d06a6582117895cbec539fe04b00222"/></dir></dir><dir name="layout"><file name="gtranslator.xml" hash="7fe1b85e2eb23573deb9d769604b2e84"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="gtrasnlator.css" hash="a12c87e82e21e6dd0c2e7b55070efefc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZealousWeb_GTranslator.xml" hash="1b2cb54796ca09835a7e1cfcfe7e8899"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>