weblate
weblate copied to clipboard
[Data source] Wikidata localization
Describe the problem
Sometimes I need to translate large sets of data from Wikidata, doing it manually is very time consuming.
Describe the solution you'd like
Adding an option for a list of objects or a SPARQL query to fetch all the relevant data for translation, the translated terms will (or should) be directly saved back to Wikidata (another option is to create an internal repository and push on request which may lead to collisions on larger scales).
Describe alternatives you've considered
Translating directly in Wikidata, it's possible but very time-consuming.
Screenshots
No response
Additional context
I actually have a task waiting just for that, I'm correlating the data from OpenStreetMap to Wikidata, so now whenever I'm changing the data in Wikidata it's being automatically reflected in OSM. This way I can have lists of countries/regions/cities/streets and translate them using Zen mode instead of going one by one, so the only difficult part here is to correlate the names of the city to the Wikidata properties (which should be done once) and then translate. We can also have supporting languages so we can fetch the main name in addition to the English translation/transliteration to help with proper translation.
It will also help with translating all the terms in the OSM wiki (which is sort of a Wikibase with different data correlations).
Thanks :)
You can definitely achieve this using API right now: Fetch strings using SPARQL, add them to Weblate and then feed them back. I'm not convinced such functionality belongs to Weblate.
Is it possible to do it as a ~~plugin~~, sorry, Addon?
This issue has been automatically marked as stale because there wasn’t any recent activity.
It will be closed soon if no further action occurs.
Thank you for your contributions!
Yes, technically it would be possible (we do something similar in the CDN add-on), but I'm not really convinced it is a good idea to embed this into Weblate.
This issue has been put aside. It is currently unclear if it will ever be implemented as it seems to cover too narrow of a use case or doesn't seem to fit into Weblate.
Please try to clarify the use case or consider proposing something more generic to make it useful to more users.
Cool, I know that translatewiki are working on something: https://phabricator.wikimedia.org/T64695