Opened 5 years ago
Last modified 5 years ago
#53381 assigned defect (bug)
Events and News Widget: Multi-day event placeholders are not replaced with dates in some languages
| Reported by: | Nao | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: | administration |
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).
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Example 1: WordCamp.org site - garbled date