Page MenuHomePhabricator

Allow language formatting / localization on some number strings in the TimedMediaHandler interface
Open, LowPublic

Description

like the https://translatewiki.net/wiki/MediaWiki:Timedmedia-webm-videos/en, it are easy to add quantifiers (Chinese is "个") when localization, while the
https://translatewiki.net/wiki/MediaWiki:Timedmedia-derivative-desc-360p.ogv/en is not easy (occurrence location difficult to ensure, and space is not controllable).
For all quantity + space string in https://en.wikipedia.org/wiki/Special:TimedMediaHandler.


Version: unspecified
Severity: minor

Details

Reference
bz59181

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:40 AM
bzimport set Reference to bz59181.

Semi related patch https://gerrit.wikimedia.org/r/#/c/97999/ - however that patch is quite far from what needs to be done that anyone interested should probably just start over.

Aklapper changed the task status from Open to Stalled.Nov 21 2020, 6:02 PM
Aklapper removed a project: good first task.

It's unclear to me what this task is asking for nowadays, when it comes to language formatting on numbers. :(

@YFdyh000: Could you elaborate?
Is this about going to https://translatewiki.net/w/i.php?title=MediaWiki:Timedmedia-derivative-desc-360p.ogv/zh-hans&action=edit and changing Ogg视频(360P) to Ogg视频(360个P) ?
If not, please see https://www.mediawiki.org/wiki/How_to_report_a_bug - thanks! :)

It's unclear to me what this task is asking for nowadays, when it comes to language formatting on numbers. :(

@YFdyh000: Could you elaborate?
Is this about going to https://translatewiki.net/w/i.php?title=MediaWiki:Timedmedia-derivative-desc-360p.ogv/zh-hans&action=edit and changing Ogg视频(360P) to Ogg视频(360个P) ?
If not, please see https://www.mediawiki.org/wiki/How_to_report_a_bug - thanks! :)

I guess I need like "$1个Ogg视频(360P)" ever, like the https://translatewiki.net/wiki/MediaWiki:Timedmedia-webm-videos/zh-hans.
This is too old, I can't review the Special:TimedMediaHandler interface now since I step down as an administrator.

@YFdyh000: Let me help with a Special:TimedMediaHandler screenshot then. :)
https://translatewiki.net/wiki/MediaWiki:Timedmedia-webm-videos/zh-hans seems to be displayed correctly?

T61181.png (785×324 px, 47 KB)

@YFdyh000: Let me help with a Special:TimedMediaHandler screenshot then. :)
https://translatewiki.net/wiki/MediaWiki:Timedmedia-webm-videos/zh-hans seems to be displayed correctly?

T61181.png (785×324 px, 47 KB)

In the screenshot, there is no quantifier between the number described and the attributive, just a space. Although this is still understandable, it is a little less than a table or quantifier to separate.
The above-mentioned "MediaWiki:Timedmedia-webm-videos" seems to be deprecated. The statistics page only outputs quantity + space + media type, there is no more convenience for i18n.
This is definitely a trivial issue. :)

...but is it a problem in code (so this Phab task is still valid), or can the issue be fixed by editing existing Chinese translations on twn (which would make me close this Phab task)? :D

...but is it a problem in code (so this Phab task is still valid), or can the issue be fixed by editing existing Chinese translations on twn (which would make me close this Phab task)? :D

The former, it may be improved for i18n. However, this may not be worth the effort, and no one will do it, feel free to close if you want.

Aklapper renamed this task from Some string need a variable to easy localize in TimedMediaHandler interface to Allow language formatting / localization on some number strings in the TimedMediaHandler interface.Nov 21 2020, 7:34 PM
Aklapper changed the task status from Stalled to Open.
Aklapper removed a subscriber: Fabrice_Florin.