Activate "Add New Term" on my developing addon

I'm developing a Trados plugin and about Termbases function now watching below.

http://producthelp.sdl.com/SDK/TerminologyProviderApi/2017/html/ea58dcf0-67b3-4a5a-9112-4300bde2b933.htm

I would like to add "Add New term" function for my addin.

But "Add New Term" button on Trados is inactive for my plugin.

What are needed for this?

================================

Are there any relation with "GetLanguages" method?

public override IList<ILanguage> GetLanguages()
{
List<ILanguage> list_lang = new List<ILanguage>();
list_lang.Add((ILanguage)new DefinitionLanguage()
{
Name = "Japanese"
Locale = new CultureInfo("ja")
});
list_lang.Add((ILanguage)new DefinitionLanguage()
{
Name = "English"
Locale = new CultureInfo("en")
});
return list_lang;
}

Parents Reply
  • Hi ,

    So let me recap the issue you are describing:

    1. You have set IsReadyOnly to false with your implementation of AbstractTerminologyProvider 
    2. You can successfully add the termbase provider to your project.
    3. When you check the Termbase settings of the project (e.g. Project>Language Pairs>All Language Pairs>Termbases), you confirm the following:
      1. The termbase is enabled
      2. The project languages are correctly mapped to the languages of the Termbase
    4. You open a document in the editor, whose language direction is mapped in the termbase (step 3.)
    5. The 'Add New Term' button is not enabled when you select text from the source content.

    Have I understood this correctly?

    Patrick Andrew Hartnett | Developer Experience | Team Lead | RWS Group

Children