How/where are EntryField objects displayed for Custom Terminology Providers?

I've built a custom terminology provider. The terms in the termbase have additional fields, such as gender, plurality, etc., which I have declared as instances of IEntryField on the EntryTerm object.

But where can I expect to see these fields?

And importantly, how can I present a term as being forbidden for us - i.e., indicate that a term should not be used?

The hitlist settings offer a preview showing the field values adjacent to the term's text...

Screenshot of Trados Studio's Sequential mode preview displaying two termbases with terms and their translations, but additional fields like gender and plurality are not visible.

...but my field values don't appear in the Term Recognition or Termbase Search panels...

Screenshot of Trados Studio's Term Recognition panel showing translations for 'Hallo Welt' but without any additional fields or indication of forbidden terms.

Here is the object which is being displayed, showing that it's Fields property is populated...

Screenshot of Trados Studio's object properties with an EntryTerm object expanded to show a populated Fields property, including a 'Forbidden' field set to 'False'.

What more do I need to do to have these fields presented in the UI?



Generated Image Alt-Text
[edited by: Trados AI at 1:13 PM (GMT 0) on 5 Mar 2024]
Parents Reply
  • Hi ,

    It all depends on how you define the descriptive field level (see below image). Did you use the GetDescriptiveFields() method to set the fields? This method is available thorough the APIs inside the Studio Terminology provider template

    Screenshot of Trados Studio code snippet showing the GetDescriptiveFields() method with 'Definition' and 'Domain' checked as Entry level.

    As you can see, the Definition and Domain can be checked independently and it will work as Option1 or Option 2 (as I described in the previews response), because both are defined at Entry level.  The Subdomain is define at LanguageLevel, so if you select one of the option or all, it will be refreshed and displayed based on the selection.

    Results when selecting Definition option 

    Trados Studio interface with 'Definition' option selected under Field Selection, and corresponding results displayed in Term Recognition panel.

    Results after selecting Domain option

    Trados Studio interface with 'Domain' option selected under Field Selection, and corresponding results displayed in Term Recognition panel.

    Results after selecting Subdomain option

    Trados Studio interface with 'Subdomain' option selected under Field Selection, and corresponding results displayed in Term Recognition panel.

    With kind regards,

    Florentina Caputa



    Generated Image Alt-Text
    [edited by: Trados AI at 1:14 PM (GMT 0) on 5 Mar 2024]
Children