• Add DTD validation files to XML file type via SDK/API

    We have a custom XML file type settings file and we need to add DTD files to the Validation section. Easily enough done via the SDL Trados Studio interface. But is it possible to add these DTD files to the XML file type settings file via the SDK/API…
  • Using SDL Worldserver Package Converter using Studio 2021 API

    Hi, I’m trying to open a WorldServer Package file using Studio 2021 API. In Studio 2017 there was no way (I knew) to open directly a WSXZ file in Studio using the API. But the File Type WSXliff was available and--with quite a bit of extra code--we…
  • API behaviour changes from Studio 2015 SR3 to Studio 2019 SR2?

    Hi, We're currently performing a plug-in migration from Studio 2015 SR3 to Studio 2019 SR2 . So far, we've seen that there are no public interface/signature changes in the API (besides having to reference the new Sdl.Core.TM.ImportExport.dll library…
  • Translate Single Document using API

    Hi, I noticed that in SDL Trados Studio 2019 it's possible to translate a single file without having to create a project first using the "Translate Single Document" option (description can be found here ). After opening the file and creating the bilingual…
  • how can I determine whether source segment includes tag

    Hi, all. Can anybody tell me how can I determine whether source segment includes tag using studio sdk? Thank you.
  • NativeFileParser, PlaceHolderTag with SegmentationHint.Exclude between two EndTag stop text from being shown in the editor. Bug? (Sdl Trados Studio 2015)

    Hi, I am writing a NativeFileParser to parse a text format with embedded tag within the content. If the parser happens to Output a PlaceHolderTag in between two EndTags, the rest of the text in the structure is not displayed in the editor, but is…
  • Trouble with AbstractNativeFileWriter in Native FileType Plugin – SegmentEnd vs. ParagraphUnitEnd != Line end

    I am developing a custom FileType plugin for certain text files. Although I've stumbled several times, I made it pretty far. Files are properly recognized and parsed, all great. My trouble now is with generating the target files. To be precise: The…
  • RE: Force NativeFileParser to start new segment

    You should implement your parser by inheriting from AbstractNativeFileParser and then use PropertiesFactory to create the elements. Of course this will require you to do the parsing but you get full control on when and how to break the segments.
  • Is it possible to import the customer's sdlfiletypesettings-file while generating the Studio Project?

    Reason for this question: 1) Filetype for the same CMS has always the same identifiers but can have different rules in it. 2) Filetype of a specific customer can change from one order to the next without notification. So it's better to always use the…
  • RE: Not calling base.Initialize(documentInfo); results in a NRE

    Indeed AbstractBilingualContentProcessor is an abstract class but you are not implementing an abstract method rather you override a method from the base class which may or may not have an implementation (just an empty method). In this exact case the method…
  • RE: How to modify a segment in SDLXLIFF File

    If you can't use the batch task api (not available Studio 2014) you can still work with sdlxliff files using the File Type Support api. You can have a look here for more details:
  • RE: Is IsReadOnly not supported?

    This property is actually inherited from ICollection<T> interface which is defined in the .Net Framework. So this refers to the ability of adding members to your collection. Now regarding Studio File Type Framework a segment can be a collection of other…
  • RE: Custom file type with embedded content settings and parser

    You can find an example on how to create a settings page here: Please keep in mind that this app is built against Studio 2014 but should be the same thing for Studio 2015.
  • Custom file type with embedded content settings and parser

    Hi We are developing a custom file type plugin. We’d like to add a settings page where you can define embedded content. The “default” embedded content settings page used by different file types is apparently located in Sdl.FileTypeSupport.Filters.Processors…
  • RE: how to modify a target segment?

    Please have a look at this article on how to create/update a segment:
  • RE: Batch API: How to modify sdlxliff file

    Please have a look at this article to see how you can create/update a segment:
  • RE: x id reference

    Although the tag has the same id value those are different tags. The first one is an inline placeholder tag that can represent textual content or invisible location references. The second tag represent a structure tag that represent the document structure…
  • RE: mxliff file type for SDL Trados Studio

    There are 2 reasons why your plugin is not working and both of them are related to the file sniffer. Every time a file is add to Studio the file type sniffer is called to run a brief verification. In your case the logic is not correct: 1. IsFileSupported…
  • mxliff file type for SDL Trados Studio

    Hello, I am trying to make plugin for SDL Trados Studio to open mxliff files. In SDL Trados Studio I have file type. While opening I receive error: If you need some code, let me know. Can anyone suggest where problem may be? Thank you…
  • RE: What is Comment Metadata?

    IComment is inherited from IMetaDataContainer interface which expose the appropriate methods to retrieve, set and remove the metadata. The main reason why you would use this feature is if you want to save additional info together with the comment which…
  • RE: Is it possible to disable the option to treat tags as placeholders when importing TTX?

    The default FileTypeManager will use the default settings which for this feature is to treat tags as placeholders. You could try and change the settings for this by using the SettingsBundle property of the FileTypeManager. This will look something like…
  • RE: Importing TTX and SDL XLIFF Programmatically

    First of all PocoFilterManager shouldn't be used directly since is not part of the public API. You should use instead this to create the filter manager. Now the reason you get this error is because the filter manager is looking after a Plugins folder…
  • RE: Overriding the structure information leads to GetMostSignificantStructureContext error

    In your bilingual content processor class in the method ProcessParagraphUnit can you please try and movethe base call for the ProcessParagraphUnit after you build your context information. The reason why this is important is because when you call the…
  • RE: How to retrieve original XLIFF fragment for segment while editing?

    The only way you can reconstruct the original XLIFF is to generate the target file but unfortunately this is an expensive operation. The only I can see in your case is to build XLIFF file type extension , hook into the conversion process in this way and…
  • RE: Preview for source is the same as target for bilingual file types

    There are few things you need to check to make sure the preview will work for source: 1. You've set a SourceGeneratorId for your preview type. If there is no id set then the target id will be used. 2. In your BuildAbstractGenerator method from the component…
1 2