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