Help test the terminology gadget!
Hello, everyone! I'm excited to share that I am almost finished with a script I've been working on for the past month, called the Terminology gadget. What it does is that it lets translators define translations for English terms that are stored in a central place, and will be shown to others who translate into the same language. You can read more about how it works on Project:Terminology gadget.
I am hoping that this gadget can be enabled as a default gadget for everyone on Translatewiki, but before we can consider that, I need help with testing it to see that everything works as it should. So if you would like to help test it, please enable it in the preferences, and let me know of any bugs/errors you find, or if anything is confusing/difficult to use.
I'm excited to hear what you think!
Bug report: Nothing happens for creating aliases. Steps to reproduce:
- Visit Portal:Zh-hant/terminology.json
- Click "Add term"
- Fill "English term" with "settings"
- Check "This is an alias for another term"
- Select "setting" for "Alias for"
- Click "Save"
Thanks for testing it out, Xiplus! This should be fixed now. Let me know if you find something else. :-)
Not sure if the Translate Extension already has such a feature, if that is not the case, your work or the concept at least should definitely get upstreamed! By the way, I believe the option of creating project-specific terminology entries to be worthy of consideration.
It doesn't, I wouldn't have spent all this time making this if it did. 😜
Yeah, I thought about making project-specific terminology an option when I first started, but it adds a whole extra layer of complexity, not only in the script (where it wouldn't actually be that complicated), but also for those entering/using the definitions in the script. So I think it is better to handle that in other ways, e.g. by specifying in the definitions that "this translation applies to X project or in Y context".
Hi, I found a bug with this gadget: the cross to quit doesn't work.
@Ajeje Brazorf: Ah! Where exactly? There are a few different crosses. The ones I checked just now work like they should.
@Ajeje Brazorf: Hmm. It works for me. Does it always not work for you, or only some times? If it only works some times, can you describe what steps you take when it is not working?
Another bug report: $VARIANT doesn't work in the "Usage notes" field. We also want this to work so translators can see notes in their preferred variant.
@Tranve: Where/on what page doesn't it work? I only see $VARIANT being used in usage notes on the terms "set" and "setting" in Portal:Zh/terminology.json, and when I checked those in Portal:Zh-hans/terminology.json and Portal:Zh-hant/terminology.json, as well as on  for both variants, it seems to be working like it should.
Weird, now I can't reproduce this problem either, and I have no idea why... Maybe we should mark this issue as fixed now and continue discussion if it arises in the future.
@Tranve: Cool! Do you happen to remember how the error manifested itself? Did it show the wrong variant, or something else? If it showed the wrong variant, it could have happened if you were on Special:Translate and switched between hans and hant in the upper right-hand corner. I need to figure out a way for the script to reload when the users switch language (there is already a thread about that on the gadget talk page, but it's not really an easy fix).