Project talk:Terminology gadget

From translatewiki.net
Latest comment: 1 day ago by Diskdance in topic Not working in action=edit?
This discussion page previously used LiquidThreads. You can see and continue those discussions on the LiquidThreads archive page (all archives).


Extension

This is super neat! Any plans for turning it into a proper extension? Or at least enabling the gadget for all users? Tgr (talk) 17:02, 9 July 2023 (UTC)Reply

@Tgr: Thanks! It is already enabled by default for everyone here on TWN. No plans for making it into an extension at the moment, I don't have the time for that any time soon I think (as long as it works as it should here, that's the most important thing I think.) Jon Harald Søby (talk) 21:27, 9 July 2023 (UTC)Reply
In the Language team we are thinking of bringing glossary support, at least partially, to the Translate extension. No concrete plans yet. Nike (talk) 13:24, 12 July 2023 (UTC)Reply

Categorization

Previously, we used this table for Hungarian. I think there is some value in being able to say which extension a given translation is for. Both because in very rare cases there might be conflicts (e.g. FlaggedRevs uses "editor" in a non-intuitive way) and because it helps with maintainability in general. Tgr (talk) 17:36, 9 July 2023 (UTC)Reply

@Tgr: Yes, in my initial idea I wanted to be able to specify what "domain" a certain translation is valid for. But that would add a lot of complexity, not only in the gadget code, but also for end users in how they would enter/add terms. So I think it is better to annotate such things in "free-form", e.g. by noting in the usage notes field if a translation is only meant to be for a certain domain. Does that make sense? Jon Harald Søby (talk) 21:30, 9 July 2023 (UTC)Reply
It's certainly much simpler, so I can understand that choice. In some cases it would be nice to avoid showing bogus/irrelevant annotations. It's probably an uncommon problem though.
I guess it also depends on how much you expect the tool to be used - e.g. if people start using it for non-Wikimedia software, those definitely need separate dictionaries. Tgr (talk) 22:03, 9 July 2023 (UTC)Reply

Not working in action=edit?

IIRC, it used to work in action=edit, but now it no longer works. Diskdance (talk) 05:08, 29 May 2024 (UTC)Reply

@Diskdance: Do you have an example of a place where that should work but doesn't? Jon Harald Søby (talk) 13:25, 29 May 2024 (UTC)Reply
@Jon Harald Søby: For instance, in https://translatewiki.net/w/i.php?title=Wikimedia:Wikipedia-ios-aaald-single-reference-added-description/zh-hans&action=edit, the "Message definition" area should highlight "added" like the one in Special:Translate, but it doesn't. Diskdance (talk) 13:30, 29 May 2024 (UTC)Reply
I never made it work for those types of pages, but I could try to fix that. But it might take some time. Jon Harald Søby (talk) 13:40, 29 May 2024 (UTC)Reply
@Diskdance: I've added this now, please test. Jon Harald Søby (talk) 07:31, 30 May 2024 (UTC)Reply
It works. Thank you! Diskdance (talk) 10:57, 30 May 2024 (UTC)Reply