About [[Intuition:Pb-pb-current-users/en]]
Appearance
Fragment of a discussion from Translating talk:Intuition/LiquidThreads
I agree that plural support should be added. Yet I can’t use the MediaWiki plural implementation in my code as it is not written in PHP, and correctly implementing the plural syntax seems to be complex. I’ll add this on my to do list, but I don’t know when I’ll have the time to deal with it.
What's the code written in?
It’s written in Python. The Python wrapper for Intuition is PyIntuition, see GitHub. As far as I see, I’d need to write or use a CLDR parser to correctly parse PLURAL messages with the same behaviour as Intuition/MediaWiki.
If you think it would be cool to write one, please do. We already have one in JavaScript and PHP. Having more is better! :)
See also: phabricator:T102231