Google Translate drop down not visible in public side

Hi,
I just installed Omeka to test its suitability. Only disappointment - no localization. So, I installed the Google Translate plugin. The dropdown language switcher is visible in the footer of the Admin side, but there is no GT menu for public side. The descriptions say this plugin is for both admin and public.

Any ideas?

Aha! It was the theme. Default = Thanks Roy, wouldn't display the GT language switcher in the footer.

Thanks for pointing this out. There's a small bug in Omeka that isn't including the plugin_footer() hook. We've fixed this, and will include it in the next minor release of Omeka.

Hi I'm testing this plugin(GoogleTranslate v 1.0) on omeka 2.2.2 but it doesn't appear on footer both admin/public page.
Didn't get any error when installed.

Any trick to make it works?

Thanks,

Melania

Hi Melania, I also tried the GoogleTranslate plugin and had the same problem -- looks to me like the plugin hasn't been updated for Omeka 2.0?
Best,
Emily

Hi Emily...I think so it's not updated to omeka2.0 yet.
I tried to modified the plugin.php, so far this is what I have:
=====
<?php

class GoogleTranslatePlugin extends Omeka_Plugin_AbstractPlugin
{

protected $_hooks = array(
'install',
'uninstall',
);

protected $_filters = array('admin_theme_footer', 'public_theme_footer');

public function hookInstall()
{
$this->_installOptions();
echo "<div id=\"google_translate_element\"></div><script>function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script><script src=\"http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"></script>";

}

public function hookUninstall()
{
$this->_uninstallOptions();
}

public function filterAdminThemeFooter()
{
echo "<div id=\"google_translate_element\"></div><script>function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script><script src=\"http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"></script>";

}

public function filterPublicThemeFooter()
{
echo "<div id=\"google_translate_element\"></div><script>function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script><script src=\"http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"></script>";

}
}
=======

But it doesn't works, and I don't get an error either...maybe somebody can pointed out what I did wrong. I can't find a good example how to inject an element to existing admin/public pages.

Cheers,

Melania

Sorry...the echo statement is not suppose be in the hookInsall():

public hookInstall()
{
$this->_installOptions();
}

Hi all, for those who is looking at this plugin as well...it might not be able to just using the same script and change how the plugin works on Omeka 2.0 and above, since this is Google Translate v.1.0, which's deprecated long time ago. There is v.2 of Google Translate but it's not a free service ;(