Page MenuHomePhabricator

[Story] Handle localised digits in formatters and parsers
Open, MediumPublic

Description

Wikidata should support localised digits (e.g. the ones used in Farsi Wikipedia). Unlike many other languages, Persian does not use the Latin digits (1, 2, 3, ...) but its own digits (۱, ۲, ۳, ...)

The bug can be explained using an example: In https://www.wikidata.org/wiki/Q95963597?uselang=fa the date values for properties P571 and P585 are using the correct digits for the day of the month (such as "۱۷ مارس" for "17 March") but not for the year ("2020" should be shown as "۲۰۲۰" but isn't). Screenshot below.

The problem also appears when you try to edit the data:

Details

Reference
bz63732

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:10 AM
bzimport set Reference to bz63732.
bzimport added a subscriber: Unknown Object (MLST).

as a workaround, we can 'denormalise' the digits when handling in time formatter.

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
aude renamed this task from handle localised digits in formatters and parsers to [Story] Handle localised digits in formatters and parsers.Sep 10 2015, 6:43 PM
aude set Security to None.