Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-2011, 12:36 AM
Member
 
Posts: 14
Smile [SOLVED] com_zimbra_date doesn't work on Japanese

Hi team,

com_zimbra_date doesn't work on Japanese in Zimbra 7.
But I could fix this issue ans would like to share with not only Japanese people but also the other people.

Today and Yesterday work well, but "今日", "昨日" doesn't work.
It seems that Zimbra can't tell the Japanese words in the email messages.

The reason is the default seeting of properties files is wrong.

file : com_zimbra_date_ja.properties
line : (NG) format.boundary = true
line : (Correct) format.boundary = false

I think this fix might be necessary in the other languages, such as chinese, korean, maybe.


------
I could identify this by reviewing date.js

// NOTE: can't use \b with asian characters!
boundary = this.getMessage("format"+i+".boundary");
if ((boundary != "" && boundary == BOUNDARY_TRUE) || boundary_all == BOUNDARY_TRUE) {
pattern = "\\b"+pattern+"\\b";
}
------
Reply With Quote
  #2 (permalink)  
Old 02-18-2011, 12:40 AM
Member
 
Posts: 14
Default

Sorry this is not on Desktop but Network Edition.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

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

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.