Improve handling of dates in languages other than English
Problem: Wikidata does not display dates correctly in many languages. When entering data, it also cannot parse many common forms of dates in other languages. This makes Wikidata difficult to use in other languages. e.g. 1997-02-01 is displayed in Chinese and Japanese as "1 2 1997" instead of "1997年2月1日". When editing, it does not understand "1997年2月1日" even when the interface is in Japanese. In Spanish, it can parse "11 mayo 1961" but not "11 de mayo de 1961". In German it can parse "1. März 2000" but not "1. märz 2000". It can parse "01.02.1997" if the language is Slovak, but not if the language is Czech.
Proposed solution: Display dates using the date format from MediaWiki. Improve the parsing of dates so that it can understand dates written in the usual format for that language.
Who would benefit: Non-English speakers using Wikidata
More comments: This is a long-standing problem which has been proposed here multiple times in the past:
Long-standing problem. I can just add two personal experiences with Italian interface: it parses months with lowercase initial (e.g. 22 marzo 2022) but not with less common (but sometimes used) uppercase initial (e.g. 22 Marzo 2022); since in Italy the most-common usage is dd mm yyyy, I can say that dd-mm-yyyy and dd mm yyyy are interpreted correctly, whilst dd/mm/yyyy is interpreted wrongly as mm/dd/yyyy (which can cause errors, if the user doesn't notice the problem when saving). I think this inversion of month and day is a problem perceived also in other languages: probably, in ambiguous cases (e.g. 01/02/2022), the system should just present the two options to the user and ask them to choose, in order to avoid misinterpretations. --Epìdosis18:46, 5 February 2023 (UTC)[reply]
It is likely a super challenge (a pipe dream) asking for an ability to translate dates from lunisolar calendar to the Gregorian system. It is an unfortunate task for editors who tried to decipher dates from a primary source that deployed an emperor's era. For instance,"清高宗乾隆丁亥四月十九日" (transliteration: Qing Gaozong Qianlong Ding hai si yue shijiu ri; translated to Gaozong of Qing, Qianlong Emperor, 32nd year, 4th month, 19th day) to the Gregorian date, 1767 May 16. Nevertheless, if somehow a system could push forward a year, such as 民國一百一十二年 (minguo 112) to 2023. That would be a great start! Is that even possible? Thank you. ShiehJ (talk) 19:39, 15 February 2023 (UTC)[reply]
For everyone following this discussion, there is an upcoming Bug Triage Hour on dates input that may be of interest to you all. On March 13th, we will be following up on an issue with date parsing in the Czech language (T221097) that was fixed in February. During the Bug Triage Hour, we will be looking at the changes induced by this fix together, checking how the date input parsing works in different languages, and identifying any possibly remaining issues. This may be a great opportunity for those concerned with the handling of dates in languages other than English to get involved and provide feedback. -Mohammed Sadat (WMDE) (talk) 10:39, 6 March 2023 (UTC)[reply]