Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-2008, 02:54 PM
Zimbra Employee
 
Posts: 4
Default Yahoo! Translator Zimlet (beta)

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
Attached Files
File Type: zip com_zimbra_ybabelfish.zip (4.4 KB, 62 views)
Reply With Quote
  #2 (permalink)  
Old 08-08-2008, 04:18 AM
Zimlet Guru & Moderator
 
Posts: 288
Default

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
Reply With Quote
  #3 (permalink)  
Old 08-08-2008, 03:47 PM
Zimbra Employee
 
Posts: 4
Default

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
Attached Files
File Type: zip com_zimbra_ybabelfish.zip (5.1 KB, 20 views)
Reply With Quote
  #4 (permalink)  
Old 08-11-2008, 01:50 AM
Zimlet Guru & Moderator
 
Posts: 288
Default

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.
Reply With Quote
  #5 (permalink)  
Old 08-11-2008, 02:20 PM
Zimbra Employee
 
Posts: 4
Default

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
Attached Files
File Type: zip com_zimbra_ybabelfish.zip (6.0 KB, 9 views)
Reply With Quote
  #6 (permalink)  
Old 08-12-2008, 05:33 AM
Zimlet Guru & Moderator
 
Posts: 288
Default

Quote:
zmprov flushCache account
This didn't do the trick for me, I still doesn't see the icon.
In the documentation :
Quote:
The Zimbra LDAP server caches the following types of entries
• Skins
...
• Zimlet configuration
But the zmprov flushCache for the zimlet configuration is the only example missing...


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.
Reply With Quote
  #7 (permalink)  
Old 08-12-2008, 02:57 PM
Zimbra Employee
 
Posts: 4
Default

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
Attached Files
File Type: zip com_zimbra_ybabelfish.zip (6.3 KB, 52 views)
Reply With Quote
  #8 (permalink)  
Old 08-13-2008, 01:18 AM
Zimlet Guru & Moderator
 
Posts: 288
Default

I still can't see the icon , but besides that, everything works perfectly .
Reply With Quote
  #9 (permalink)  
Old 08-26-2008, 04:45 AM
Moderator
 
Posts: 2,207
Default

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
Reply With Quote
  #10 (permalink)  
Old 08-26-2008, 05:45 AM
Junior Member
 
Posts: 7
Default Possible cause for the icon problem

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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.