Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Other > International > I18N/L10N - Translations

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 Display Modes
  #1 (permalink)  
Old 11-24-2005, 09:00 PM
Project Contributor
 
Posts: 55
Default European 24 h format in the calendar?

Hi

How can I set 24 h format in the calendar ?

in Finland we are using 24 h time format and the date format is dd.mm.yyyy.

-- Timo
Reply With Quote
  #2 (permalink)  
Old 11-25-2005, 01:42 AM
Starter Member
 
Posts: 1
Default

hi,
You can change it by modifing the files on /opt/zimbra/tomcat/webapps/zimbra/WEB-INF/classes/msgs/I18nMsg_xx_XX.properties

the key values the following

formatDateLong = d MMMM yyyy
formatDateMedium = d/MM/yyyy
formatDateShort = d/MM/yy
formatTimeFull = hh:mm:ss a z
formatTimeLong = H:mm:ss
formatTimeMedium = HH:mm:ss
formatTimeShort = HH:mm

see java date documentation to know the format diferences (HH, H, hh, etc)

bye
Reply With Quote
  #3 (permalink)  
Old 12-02-2005, 06:55 PM
Zimbra Employee
 
Posts: 70
Default Calendar Date Formats

The I18nMsg_xx_XX.properties files are automatically generated during build and match the formats available in Java's DateFormat class. (These patterns are used by the AjxDateFormat class in the client code, by the way.)

The calendar app has a number of custom formats for column headers, etc. that do not have equivalents in Java's date format patterns. So even though many of the date and time strings will display correctly in the application, there is a short list of custom patterns that must be translated for each language. Here's a list from the latest AjxMsg.properties file:

formatCalDate
formatCalDateLong
formatCalDateFull
formatCalDay
formatCalMonth

weekdaySunShort
...
weekdaySatShort

monthJanShort
...
monthDecShort

When translating these patterns, look at the custom patterns defined in the AjxMsg.properties file. Then follow the patterns for this information found in your locale's I18nMsg_xx_XX.properties file when defining the custom patterns.

For example, formatCalDate shows the weekday name, month name, and day of the month. So the translated pattern for formatCalDate should show the same information, except formatted as appropriate for that locale. Make sense?

This will ensure that there is consistency between the standard date/time patterns and the custom ones used by the calendar app.
Reply With Quote
  #4 (permalink)  
Old 12-02-2005, 07:00 PM
Zimbra Employee
 
Posts: 70
Default

Quote:
Originally Posted by glards
You can change it by modifing the files on /opt/zimbra/tomcat/webapps/zimbra/WEB-INF/classes/msgs/I18nMsg_xx_XX.properties
You don't need to modify these files (and it's recommended that you don't) because they are generated during the build.
Reply With Quote
  #5 (permalink)  
Old 04-02-2007, 08:28 AM
Senior Member
 
Posts: 64
Default Calendar Date Format

How do we change the default date format when creating an appointment/meeting?

The default is date/month/year

We want month/date year

The present setting is confusing for our users.

Example: is 3/4/2007

March 4, 2007

- or -

April 3, 2007?

We want it to be March 4, 2007

gersh
Reply With Quote
  #6 (permalink)  
Old 04-02-2007, 09:17 PM
Project Contributor
 
Posts: 55
Default

Hi

All is in the language files. You must change the date formats in the language files, which your users are using.

The date is defined in many locations. I have changed all dates in Finnish language files. You can look there for the format.

-- Timo
Reply With Quote
  #7 (permalink)  
Old 10-04-2009, 01:57 AM
Senior Member
 
Posts: 65
Default

I am unable to categorize between the various files can anyone help plz....

what is I18nMsg.properties I18nMsg_en_GB.properties ZMsg_en_AU.properties AjxMsg_en_AU.properties I18nMsg_es.properties etc opt for?
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0