View Single Post
  #3 (permalink)  
Old 02-22-2006, 03:20 PM
andyc andyc is offline
Zimbra Employee
 
Posts: 79
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.
Reply With Quote