[wp-trac] [WordPress Trac] #16079: Automatic excerpts don't work well with Chinese txt (word counting)

WordPress Trac wp-trac at lists.automattic.com
Thu May 3 00:45:28 UTC 2012


#16079: Automatic excerpts don't work well with Chinese txt (word counting)
--------------------------------------------+-----------------------
 Reporter:  houshuang                       |       Owner:  nacin
     Type:  defect (bug)                    |      Status:  assigned
 Priority:  normal                          |   Milestone:  3.4
Component:  I18N                            |     Version:  3.0.4
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch needs-testing commit  |
--------------------------------------------+-----------------------

Comment (by jiehanzheng):

 Replying to [comment:16 nacin]:
 > Ideally, we avoid $locale.php for most locales in 3.4.
 >
 > Ideally, what would it look like for Chinese? Not the configure-any-
 piece patch, but what specific pieces of code are appropriate for Chinese?
 And did you have any code in 3.3 to support this at all?
 Yes I understand and I support the idea that we should prevent the use of
 $locale.php.  I will try my best to make this happen in core without
 having extra files, but if this is really hard for the dev team and the
 community, we will have to use $locale.php.

 We want to have the automatic excerpt yield the same result as our word-
 count.js proposal:
 http://core.trac.wordpress.org/ticket/8759#comment:30

 We did not have automatic excerpt support before.  However, now that I've
 finished it, so I might consider including it into zh_CN.php for now if
 the updated formatting.php in 3.4 does not have Chinese excerpt
 capabilities.  Thanks.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16079#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list