[Wikitech-l] GSoC -- TranslateSvg: Bringing the translation revolution to Wikimedia Commons

3 views
Skip to first unread message

Harry Burt

unread,
Apr 1, 2012, 5:39:16 AM4/1/12
to wikit...@lists.wikimedia.org
Hey all,

Now I have more of the details sorted out, I'd like to invite feedback on
my Google Summer of Code proposed project, entitled *TranslateSvg: Bringing
the translation revolution to Wikimedia Commons *.[1]. Obviously the
deadline for submissions is rapidly closing in, but comments would still be
very welcome, either before or after that deadline.

To quote from my proposal:

> TranslateSvg has the potential to revolutionise the ability of Wikimedia's
> diverse groups of image maintainers to work together creating and improving
> the same communal set of SVG (vector) images. At the moment, providing
> alternative translations of SVG files typically requires "forking" the
> image. This drastically increases the image's maintenance burden and
> thereby discourages image improvement. Where such improvement does take
> place, it is seldom shared between different language versions.
> TranslateSvg would completely change this suboptimal workflow by removing
> the need for the image to be forked; instead, translations (provided using
> a streamlined special page) would be saved inside the image itself, in
> accordance with the SVG 1.1 specification. The file, complete with these
> embedded translations, could then be displayed in either the language of a
> wiki, the user's preferred interface language, or any given arbitrary
> language. If the SVG file were to be served directly, it would helpfully
> display in the user's system language where such a translation was
> available, aiding reuse possibilities. When I originally raised this idea
> it received the support of several Wikimedia Commons users as well as WMF
> developers.
>
Thanks!

Harry (User:Jarry1250)

[1] https://www.mediawiki.org/wiki/User:Jarry1250/GSoC_2012_application
_______________________________________________
Wikitech-l mailing list
Wikit...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Strainu

unread,
Apr 3, 2012, 8:10:40 AM4/3/12
to Wikimedia developers
În data de 1 aprilie 2012, 12:39, Harry Burt <jarr...@gmail.com> a scris:
> Hey all,

Hi Harry,

>
> Now I have more of the details sorted out, I'd like to invite feedback on
> my Google Summer of Code proposed project, entitled *TranslateSvg: Bringing
> the translation revolution to Wikimedia Commons *.[1]. Obviously the
> deadline for submissions is rapidly closing in, but comments would still be
> very welcome, either before or after that deadline.

This would be great if implemented. However, I do have a small
observation on your project. You seem to want to target your extension
for deployment on Wikimedia Commons. I think a better approach is to
use it on Translatewiki, as the community there has much more
experience with l10n.

An ideal situation (but hardly appropriate for a summer project) is to
have some kind of suggestion box on Commons that would appear on
Translatewiki when that particular SVG is translated.

Regards,
Strainu

Siebrand Mazeland

unread,
Apr 3, 2012, 9:44:22 AM4/3/12
to Wikimedia developers, Niklas Laxstrom
It woud be pretty cool if you could add it as a feature to the translate extension. It's pretty modular, and what it would require is an "on the fly" message group creation, as well as an integration into the image pages, I presume similar to the page translation feature.

Add Niklas on Cc in case he can provide some input.

--
Siebrand Mazeland

M: +31 6 50 69 1239
Skype: siebrand

Gerard Meijssen

unread,
Apr 3, 2012, 9:59:16 AM4/3/12
to Wikimedia developers
Hoi,
You did create a prototype extension for this before. Was it ever reviewed ?
Thanks,
Gerard

http://ultimategerardm.blogspot.com/2012/01/translations-in-svg.html

Niklas Laxström

unread,
Apr 3, 2012, 1:02:59 PM4/3/12
to Wikimedia developers, Niklas Laxstrom
On 3 April 2012 16:44, Siebrand Mazeland <s.maz...@xs4all.nl> wrote:
> It woud be pretty cool if you could add it as a feature to the translate extension. It's pretty modular, and what it would require is an "on the fly" message group creation, as well as an integration into the image pages, I presume similar to the page translation feature.
>
> Add Niklas on Cc in case he can provide some input.

It's relative easy to register new message group dynamically to
Translate extension:
* Use TranslatePostInitGroups hook to register the group
* Subclass one of the message group classes
* Either make sure MessageGroups::clearCache is called or correct
dependencies for the cache are added with the above hook.
* Probably also need to call statistic purging hooks at places.

Talk to me if you want to have more details how to do the above.
-Niklas

--
Niklas Laxström

Reply all
Reply to author
Forward
0 new messages