Results 1 to 3 of 3

Thread: [SOLVED] Localization of Zimlets

  1. #1
    skid is offline Member
    Join Date
    Oct 2009
    Posts
    14
    Rep Power
    5

    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?

  2. #2
    tdesorbaix is offline Zimlet Guru & Moderator
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    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.

  3. #3
    skid is offline Member
    Join Date
    Oct 2009
    Posts
    14
    Rep Power
    5

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimlets Not Working
    By Sir Bob in forum Administrators
    Replies: 0
    Last Post: 09-30-2009, 01:39 PM
  2. Replies: 0
    Last Post: 02-21-2009, 08:38 AM
  3. Admin Console - Manage Zimlets
    By familyfi in forum Administrators
    Replies: 0
    Last Post: 12-11-2008, 03:47 PM
  4. Zimlets Webinar: July 24th
    By GregA in forum Webinars
    Replies: 12
    Last Post: 09-12-2007, 09:24 PM
  5. where are my zimlets ?
    By santo in forum Zimlets
    Replies: 21
    Last Post: 06-05-2007, 07:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •