[wp-trac] [WordPress Trac] #44541: Text length should be localizable

WordPress Trac noreply at wordpress.org
Sun Jul 8 15:44:52 UTC 2018


#44541: Text length should be localizable
-------------------------+--------------------------------------
 Reporter:  miyauchi     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  I18N         |    Version:
 Severity:  normal       |   Keywords:  has-patch has-unit-tests
  Focuses:               |
-------------------------+--------------------------------------
 There are variables to define the text length and they are used in the
 function `wp_trim_words()`.
 And also, there are flag to switch word count type in `.po` file.

 They should be localizable because the CJK (Chinese, Japanese, Korean) has
 double-width characters like Japanese Kanji and they are counted by chars.

 * The text length of the excerpt.
 * The text length of the excerpt in RSS feed.
 * The text length of comment in dashboard.
 * The text length of draft in dashboard.

 My plan is that adds a number of text length into the `.po` to be able to
 localize.

 These fixes are included in the WP Multibyte Patch plugin in the Japanese
 package.
 We will open some other tickets to remove this plugin from Japanese
 package.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44541>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list