It would be awesome to have a tool for this purpose, especially if we end up having multiple text-heavy banners we cycle through for the Main page.
As per the Commons documentation on translating SVGs (https://commons.wikimedia.org/wiki/Help:Translation_tutorial), I was thinking it would best to use a separate file for each language (as done with the "100 Years War France image" here: https://commons.wikimedia.org/wiki/Category:Translation_possible_-_SVG) and then adding the files to a new Commons category just for Wikidata Main page banners. I am happy to develop some basic documentation for Wikidata translators/contributors if necessary
On 22 August 2014 05:47, Harry Burt harryaburt@gmail.com wrote:
[Apologies, I get these on digest so I'm probably a bit behind.]
On Thu, 21 Aug 2014, Legoktm legoktm.wikipedia@gmail.com wrote:
- How do you plan on localizing the black banner with English words in
it? MediaWiki supports localized SVGs if I remember correctly, but doesn't have a method to translate them (E:TranslateSvg hasn't been deployed yet).
Just to expand slightly, the current state of SVG translation remains problematic, insofar as all users must currently receive the same language SVG (for rationale, see changeset #95746). Thus MediaWiki cannot show this same SVG based on content language alone. However, given that we now have a clear usecase this could probably be changed [1].
Regards translating this particular SVG, I could boot up translatesvg.wmflabs.org and piggyback on this demand to get some basic user testing (although I already know it's a bit rubbish at the moment!!). Since it just exports an SVG anyway, voila -- though preserving attribution would need some thought.
Best, Harry
[1] Not sure on the technical specifics. Clearly the easiest would be to have a |lang=multi flag, but that may not be sustainable long term.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l