daniel added a comment.
I think automatic transformation based on regular expressions can only work for a very narrow set of applications. We need something that is more robust and scales better in terms of community involvement.
I think we could sidestep the grammar issue by using unit symbols
Smalyshev added a comment.
@Nikerabbit I think you are right that we won't be able to design regexp formula that allows to grammatically display arbitrary unit for arbitrary language any time soon.
However, there is a middle ground here - we don't have to go all the way from unit label to а
Amire80 added a comment.
As a pet project I've been very slowly migrating grammar data from PHP and JS code to generic JSON: T115217. (I haven't touched it in a few months, and thanks to @Smalyshev's email from today I recalled it.)
Since the strings for unit names are not MediaWiki messages, but
Danny_B added a project: RfC.
TASK DETAIL
https://phabricator.wikimedia.org/T86528
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Danny_B
Cc: hoo, mxn, Snipre, Ricordisamoa, Lydia_Pintscher, thiemowmde, Tobi_WMDE_SW,
JeroenDeDauw, JanZerebecki,
thiemowmde added a blocked task: T56318: Quantity datatype (tracking).
TASK DETAIL
https://phabricator.wikimedia.org/T86528
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: thiemowmde
Cc: Snipre, Ricordisamoa, Lydia_Pintscher, thiemowmde,
Jonas added a blocked task: T77983: use localized unit symbols in
QuantityValueFormatter.
TASK DETAIL
https://phabricator.wikimedia.org/T86528
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Jonas
Cc: Snipre, Ricordisamoa, Lydia_Pintscher,
Lydia_Pintscher added a blocked task: T77977: Unit support (tracking).
TASK DETAIL
https://phabricator.wikimedia.org/T86528
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Lydia_Pintscher
Cc: Lydia_Pintscher, thiemowmde, Tobi_WMDE_SW, JeroenDeDauw,
Snaterlicious added a comment.
Would be awesome to document the reasoning behind the agreements. So, instead
of flexible entity types, there will be special properties? As that is a very
fundamental decision, it should be evaluated properly as to other use cases
(spontaneously,