Results 1 to 3 of 3

Thread: translate ZmContact.F_ ?

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    68
    Rep Power
    10

    Post translate ZmContact.F_ ?

    This weekend I translated ZmMsg.properties to Dutch ( belgium)

    The question is, can I translate the AB_FIELD_***** values?
    # these need to be kept in sync with ZmContact.F_*
    AB_FIELD_firstName = First

    Second question:in the file AjxMsg.properties, is it allowed to change these Cal values?
    and what does EEE and EEEE mean?
    # formats for calendar use
    formatCalDate = EEE, MMM d
    formatCalDateLong = EEEE, MMMM d
    formatCalDateFull = EEEE, MMMM d, yyyy
    formatCalDay = M/d
    formatCalMonth = MMMM yyyy
    # additional formats for date formatting
    formatDateMediumNoYear = MMM dd


    Tomorrow I will fax the Zimbra contributor agreement, do I also have to send it then by regular mail?

    Thanks,
    Stefan

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    I think you can skip these fields, not sure off hand if they are displayed in the UI. Easy way to check is look at contacts when you are done.

    EEE -> Mon, Tue, etc
    EEEE -> Monday, Tuesday, etc


    Our legal team requires the mailed copy, but once we get the fax we can allow you to post your contributions.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Oct 2005
    Location
    California
    Posts
    79
    Rep Power
    10

    Default

    Quote Originally Posted by StefanD
    This weekend I translated ZmMsg.properties to Dutch ( belgium)

    The question is, can I translate the AB_FIELD_***** values?
    # these need to be kept in sync with ZmContact.F_*
    AB_FIELD_firstName = First
    Yes, these should be translated. If you look in ZmContact.js, you'll see that they are used for labels in contact tooltips, etc.

    Quote Originally Posted by StefanD
    Second question:in the file AjxMsg.properties, is it allowed to change these Cal values?
    and what does EEE and EEEE mean?
    # formats for calendar use
    formatCalDate = EEE, MMM d
    formatCalDateLong = EEEE, MMMM d
    formatCalDateFull = EEEE, MMMM d, yyyy
    formatCalDay = M/d
    formatCalMonth = MMMM yyyy
    # additional formats for date formatting
    formatDateMediumNoYear = MMM dd
    You should definitely change these values to make the formats appropriate for the locale.

    The date/time/number/etc formats used in the product are identical to the ones Java provides when they format messages in various locales. For dates and times, Java provides four standard lengths for formatting: short, medium, long, and full. However, in the Zimbra product there are other formats that we need (e.g. the day and month WITHOUT the year). Hence, we needed to add our own custom patterns to the AjxMsg.properties file.

    To figure out what the stuff like "MMM" and "yyyy" means, please refer to the JavaDoc for the java.text.SimpleDateFormat class.

Similar Threads

  1. What exactly I shouldnt translate?
    By Aleks in forum I18N/L10N - Translations
    Replies: 0
    Last Post: 05-07-2007, 04:25 PM
  2. Translate folder names
    By lmineiro in forum I18N/L10N - Translations
    Replies: 1
    Last Post: 11-08-2006, 07:24 AM
  3. Translate ZsMsg.properties?
    By StefanD in forum I18N/L10N - Translations
    Replies: 1
    Last Post: 09-29-2006, 03:06 PM
  4. Translate to French?
    By B-as-in-B in forum I18N/L10N - Translations
    Replies: 1
    Last Post: 10-06-2005, 10:28 PM

Posting Permissions

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