WordPress.org

Make WordPress Core

Opened 3 days ago

Last modified 3 days ago

#53381 new defect (bug)

Events and News Widget: Multi-day event placeholders are not replaced with dates in some languages

Reported by: Nao Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:

Description

When the user profile language is set to Korean or Japanese, the multi-event WordCamp dates are not correctly displayed in the dashboard widget. This only reproducible only in a certain environment (see how to reproduce section below):

The placeholders are not replaced with numbers and the exact translation is shown, such as %4$d年%1$s月%2$d日〜%3$d日 (Japanese) and %4$d년 %1$s %2$d일–%3$d일 (Korean).

The strings in question: Japanese / Korean

How to reproduce:
If you have access to any WordCamp site's dashboard, go to Users > Profile and set your language to 日本語 (Under "Italiano"). Go to /wp-admin/ and check the Events and News widget.

Depending on the server the site is on, there are at least 3 variations: garbled date, correct translation, or incorrect word order (for all dates, not just multi-day events).

Attachments (3)

wordcamp.png (100.9 KB) - added by Nao 3 days ago.
Example 1: WordCamp.org site - garbled date
self-hosted.png (105.8 KB) - added by Nao 3 days ago.
Example 2: Self-hosted site - correct display
ja-wp-org.png (103.6 KB) - added by Nao 3 days ago.
Example 3: ja.wordpress.org site - incorrect word order

Download all attachments as: .zip

Change History (6)

@Nao
3 days ago

Example 1: WordCamp.org site - garbled date

@Nao
3 days ago

Example 2: Self-hosted site - correct display

@Nao
3 days ago

Example 3: ja.wordpress.org site - incorrect word order

This ticket was mentioned in Slack in #meta-wordcamp by nao. View the logs.


3 days ago

This ticket was mentioned in Slack in #polyglots by nao. View the logs.


3 days ago

This ticket was mentioned in Slack in #meta-i18n by nao. View the logs.


3 days ago

Note: See TracTickets for help on using tickets.