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 11-10-2009, 01:23 PM
Member
 
Posts: 14
Question [SOLVED] Localization of Zimlets

Hi all,

I'm having some problems in getting localization for my zimlet working.

So far, this is what I've done:
1) First, I created the respective <zimletname>.properties, <zimletname>_de.properties (etc.) files for my localizations. For testing purposes I just added one property to each of them:
Code:
tooltip = My localized tooltip
2) Next, I tried to use this property in my <zimletname>.xml file, e.g.
Code:
<toolTipText> ${msg.tooltip} </toolTipText>
Unfortunately the tooltip in Zimbra then just says ${msg.tooltip}.

3) After that I tried to use the property in one of my Javascript files using
Code:
this.getMessage("tooltip");
This doesn't work either, Zimbra just shows ???tooltip???

I really don't know what I'm doing wrong here. Any suggestions/help would be greatly appreciated.

P.S. I'm using Zimbra Desktop instead of the ZCS client for faster testing (so the zimlet hasn't actually been deployed to the system) - but this shouldn't be a problem, right?
Reply With Quote
  #2 (permalink)  
Old 11-12-2009, 01:14 AM
Zimlet Guru & Moderator
 
Posts: 288
Default

Quote:
Originally Posted by skid View Post
P.S. I'm using Zimbra Desktop instead of the ZCS client for faster testing (so the zimlet hasn't actually been deployed to the system) - but this shouldn't be a problem, right?
It is a problem that is has'nt been deployed.
You have to deploy the zimlet to store the translations in zimbra and restart jetty.
Reply With Quote
  #3 (permalink)  
Old 11-15-2009, 06:24 AM
Member
 
Posts: 14
Default

Quote:
Originally Posted by tdesorbaix View Post
It is a problem that is has'nt been deployed.
You have to deploy the zimlet to store the translations in zimbra and restart jetty.
Awesome, it works. Thanks!
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.