Release Notes for Trados Studio 2024 SR2
Added API licensing support for subscriptions
When creating standalone apps, you can now use Project automation API calls that need a license even if Trados Studio is licensed through a subscription. This expands the list of supported scenarios where Trados Studio is licensed through a perpetual license, or through a network server license.
Note
Starting with Trados Studio 2024 SR2, when developing a standalone application using Project Automation APIs that require a license, make sure to call LicenseManager.ReleaseLicense()
before the application exits. See Project Automation Overview for more details.
Terminology Provider
The changes are included in Sdl.Terminology.TerminologyProvider.Core
.
Classes
Removed clsses
- AbstractTerminologyProvider
Updated classes
Definition
- No longer implements interface
IDefinition
. - Constructor definition changed. The new constructor definition:
public Definition(IEnumerable<DescriptiveField> fields, IEnumerable<DefinitionLanguage> languages)
DefinitionLanguage
- No longer implements interface
IDefinitionLanguage
. - The type of property
Local
was changed to CultureCode
DescriptiveField
- No longer implements interface
IDescriptiveField
.
Entry
- No longer implements interface
IEntry
. - The type of property
Languages
was changed to IList<EntryLanguage>. - The type of property
Transactions
was changed to IList<EntryTransaction>.
EntryEventArgs
- Constructor definition changed to
EntryEventArgs(Entry entry)
- The type of property
Entry
changed to Entry
EntryField
- No longer implements interface
IEntryField
. - Type of property
Fields
was changed to IList<EntryField>.
EntryLanguage
- No longer implements interface
IEntryLanguage
. - Type of property
Fields
was changed to IList<EntryField> - Type of property
Locale
was changed to CultureCode. - Type of property
ParentEntry
was changed to Entry. - Type of property
Terms
was changed to IList<EntryTerm>
EntryTerm
- No longer implements interface
IEntryTerm
. - Type of property
Fields
was changed to IList<EntryField>. - Type of property
ParentLanguage
was changed to EntryLanguage - Type of property
Transactions
was changed to IList<EntryTransaction>
EntryTransaction
- No longer implements interface
IEntryTransaction
.
MarkupPosition
- No longer implements interface
IMarkupPosition
.
SearchMarkupResult
- No longer implements interface
ISearchMarkupResult
. - No longer implements interface
ISearchResult
. - Type of property
Positions
was changed to IList<MarkupPosition>
SearchMarkupResultWithTermbaseName
- No longer implements interface
ISearchResultWithTermbaseName
. - No longer implements interface
ISearchResult
.
SearchResult
- No longer implements interface
ISearchResult
.
SearchResultWithTermbaseName
- No longer implements interface
ISearchResultWithTermbaseName
. - No longer implements interface
ISearchResult
.
TerminologyProviderManager
- Implements interface
ITerminologyProviderManager
- New method added
RemoveTerminologyProvider(Uri)
used to remove a terminology provider based on the provider Uri
TerminologyProviderStatus
- No longer implements interface
ITerminologyProviderStatus
Added classes
- FilterDefinition which can be used to define the terminology provider filter
Interfaces
Removed interfaces
- IDefinition
- IDefinitionLanguage
- IDescriptiveField
- IEntry
- IEntryField
- IEntryLanguage
- IEntryTerm
- IEntryTransaction
- IMarkupPosition
- ISearchMarkupResult
- ISearchResult
- ISearchResultWithTermbaseName
- IServerBasedTerminologyProvider
- ITerminologyProviderStatus
Updated interfaces
IConnectionAwareTerminologyProvider
- Type of property
Status
was changed to TerminologyProviderStatus
ILanguage
- Type of property
Locale
was changed to CultureCode.
ITerminologyMarkupProvider
- Is no longer extended by interfaces
IConnectionAwareTerminologyProvider
,ITerminologyProvider
andIDisposable
- Return type for method
SearchAndMarkup(string text, ILanguage source, ILanguage destination, int maxResultsCount, SearchMode mode, bool targetRequired)
was changed to IList<SearchMarkupResult>
ITerminologyProvider
- Added property
ActiveFilter { get; set; }
used to manage the active filter definition, it returns FilterDefinition. - Added property
IsInitialized { get; }
used to track where the provider has been initialized, it returns aboolean
value. - Added method
GetFilters()
to get all the filters definitions available for the terminology provider, it returns IList<FilterDefinition>. - Added method
Initialize()
to be used for provider initialization, it returns aboolean
value. - Added method
Initialize(TerminologyProviderCredential credential)
to be used to initialize providers with credentials, it returns aboolean
value. - Added method
IsProviderUpToDate()
to be used to check if the provider information is up-to-date, it returns aboolean
value. - Added method
Uninitialize()
to be used to uninitialize the terminology provider, it returns aboolean
value. - Type of property
Definition
was changed to Definition. - Type returned by method
GetEntry(int)
was changed to Entry. - Type returned by method
GetEntry(int id, IEnumerable<ILanguage> languages)
was changed to Entry. - Type returned by method
Search(string, ILanguage, ILanguage, int, SearchMode, bool)
was changed to IList<SearchResult>. #### IFind - Renamed
Match
property of type ContentRange, on the IFind interface toMatchRange
. - Added new property named
Match
of typeSystem.Text.RegularExpressions.Match
.
ITerminologyProviderViewerWinFormsUI
- Added property
CanAddTerm { get; }
that returns aboolean
value, true if this component supports adding a term; otherwise, false. - Added property
IsEditing { get; }
used to indicate whether the component TerminologyProviderViewerWinFormsUI is in edit mode, it returns aboolean
value. - Added method
CancelTerm()
used to cancel the current term editing operation. - Added method
SaveTerm()
used to save the current state of a term. - Type of property
SelectedTerm
was changed to Entry. - Type of parameter
term
of methodAddAndEditTerm
was changed to Entry. The new method declaration isvoid AddAndEditTerm(Entry term, string source, string target)
. - Type of parameter
term
of methodEditTerm
was changed to Entry. The new method declaration isvoid EditTerm(Entry term)
. - Type of parameters
source
andtarget
of methodInitialize
was changed to CultureCode. The new method declaration isvoid Initialize(ITerminologyProvider terminologyProvider, CultureCode source, CultureCode target)
. - Type of parameter
entry
of methodJumpToTerm
was changed to Entry. The new method declaration isvoid JumpToTerm(Entry entry)
.
ITerminologyProviderWinFormsUI
- Removed property
SupportsEditing
. - Removed method
bool Edit(IWin32Window owner, ITerminologyProvider terminologyProvider)
.Type
Added interfaces
ITerminologyProviderManager
- This interface represents a mechanism responsible for creating and getting available terminology providers.
- Interface methods:
- GetTerminologyProvider(Uri): get an instance of a terminology provider, specified by its uri.
- GetTerminologyProvider(Uri, ITerminologyProviderCredentialStore): get an instance of a terminology provider, specified by its uri and the provider credentials.
- GetTerminologyProviderViewerWinFormsUI(Uri): returns the terminology provider viewer win forms UI object specific for the input URI.
- GetTerminologyProviderViewerWinFormsUIs(): returns the list of available terminology provider viewer win forms UI.
- GetTerminologyProviderWinFormsUI(Uri): returns the win forms UI for the specified terminology provider.
- GetTerminologyProviderWinFormsUIs(): returns the list of all available terminology providers that have implementations for win forms UI.
- RemoveTerminologyProvider(Uri): Remove a terminology provider based on uri.
ITerminologyProviderWinFormsUIWithCreate
- Adds the capability to create a
ITerminologyProvider
. - Extends interface ITerminologyProviderWinFormsUI.
- Has method Create() that allows the creation of an
ITerminologyProvider
from the UI. It returns a ITerminologyProvider
ITerminologyProviderWinFormsUIWithEdit
- Adds the capability to edit settings.
- Extends interface ITerminologyProviderWinFormsUI.
- Has method Edit(IWin32Window owner, ITerminologyProvider terminologyProvider) used to display a dialog to interactively change any of the terminology provider settings.
Enums
Added enums
TerminologyImportType
- Determines the import format.
TerminologyImportType fields
Name | Description |
---|---|
MTF | Use MFT XML schema: https://developers.rws.com/multiterm-api-docs/apiconcepts/MTF/xsd_schema.html |