Help test the terminology gadget!

Fragment of a discussion from Support
Jump to navigation Jump to search

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 (talk)09:32, 4 December 2021

@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 [1] for both variants, it seems to be working like it should.

Jon Harald Søby (talk)01:15, 6 December 2021

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 (talk)13:30, 6 December 2021

@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).

Jon Harald Søby (talk)16:35, 6 December 2021