I just created a Zimlet for Yahoo!'s Babel Fish translation service, and I'm looking for testers.
Please let me know if it works for you!
Thanks,
Aaron
I just created a Zimlet for Yahoo!'s Babel Fish translation service, and I'm looking for testers.
Please let me know if it works for you!
Thanks,
Aaron
Your first post so : Welcome to the forum !!!
The zimlet works fine for me (I used french translation).
1 bug but coming from babelfish site, not from your zimlet : there is ; added sometimes after " or '
Also, it would be usefull that the zimlet select by default the translator :
English to user language.
To get the user locale :
Code:settings.zimbraPrefLocale
Good idea!
This new version defaults to sensible languages based on the user's locale, and now has a preferences option to set the default languages to translate between.
Again, let me know if it works for you!
-Aaron
Last time i used the _dev folder but this time I deployed it.
By deploying it we can detect a problem with the panelItem icon : it is not visible.
Another problem : the selection button of the preferences doesn't work correctly : I can't click on the OK button because it open instead the list of the selection field. In fact, it open the selection field if you click anywhere under the selection field.
I fixed the preferences dialog and have attached the new (and hopefully last!) version to this post.
Also, when I first deployed the Babel Fish zimlet on my install, it didn't show the icon, but I was able to fix it by running "zmprov flushCache account"
-Aaron
This didn't do the trick for me, I still doesn't see the icon.zmprov flushCache account
In the documentation :
But the zmprov flushCache for the zimlet configuration is the only example missing...The Zimbra LDAP server caches the following types of entries
• Skins
...
• Zimlet configuration
At first The property editor field was an Input text field, but it turned back to normal after restarting zimbra.
It would also be better to replace the OK button by the translate button and change the cancel button in a "close" button, because this OK button is really confusing.
I've added a button to insert the translation into a new mail message (I hope it's useful!), and replaced the "OK" and "Cancel" buttons with "Translate" and "Close"
You should be able to flush the zimlet caches with "zmprov flushCache zimlet"
-Aaron
I still can't see the icon, but besides that, everything works perfectly
.
Just tested on a 5.0.8 server and I'm getting "An error occurred when attempting to translate this message." (either if I type a sentence to be translated or if I drag'n'drop a message to the zimlet).
Where should we dig to get some data about the error ?
mailbox.log is empty (about this), so does zimbra.log
I also had a problem with the missing icon. Do you have in ZCS the Yahoo Local zimlet installed? Because this zimlet has a problem in the CSS file: after the last class definition it has a semicolon.
When Zimbra mixes the CSS files for all the zimlets, this semicolon invalidates the next class that comes after, which might be the class for the Babel Fish translation zimlet. To test this, simply disable or undeploy the Yahoo Local zimlet.
My solution for this was to add in my zimlet's CSS file a dummy class, right at the beginning of the file. This class is invalidated at runtime, and my real CSS class remains valid and processed by the browser.
Tested with ZCS 5.0.8 and Firefox 3.
There are currently 1 users browsing this thread. (0 members and 1 guests)