[wp-trac] [WordPress Trac] #16079: Automatic excerpts don't work well with Chinese txt (word counting)
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 21 21:38:37 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 |
-------------------------------------+-----------------------
Comment (by jiehanzheng):
[attachment:16079.3.diff] gives translators power to control every aspect
of the way trimming works. Translators may use the same method as stated
in [http://core.trac.wordpress.org/ticket/8759#comment:37 my another
comment] to configure this.
With this patch, translators may decide:
* whether or not to count Latin part by characters.
* whether or not to break Latin words apart to fit word count.
* whether or not to count East Asia punctuation marks.
* whether or not to count spaces.
This should meet the needs of general English usage (options are default
to English usage, if pomo translations are not present), Japanese usage
mentioned in this ticket, and Chinese conventions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16079#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list