New project request: EDTF PHP library

Fragment of a discussion from Support
Jump to navigation Jump to search

Do file a Phabricator task per the template in Translating:New_project when you're ready. Do note that inflectNumber (and maybe other code too) needs to be made language aware. You may want to look at CLDR data to see how much of that can be used to solve this.

Nike (talk)11:34, 11 February 2021

Thanks!

Any thoughts on how to avoid having `inflectNumber` in our code to begin with? Ideally we'd be able to use some PHP library that we just give the message key and some arguments, and that then takes care of it, including using the translation files from TranslateWiki in the repo.

Jeroen De Dauw (talk)17:39, 12 February 2021

Looks like it is now suppored by twn: https://translatewiki.net/wiki/Special:Translate/mwgithub-edtf. Cool and thanks!

[[kgh]] (talk)16:43, 19 March 2021