How to translate markdown code blocks ?

When importing markdown files in studio 2019 using the new .md file format, all code blocks between backticks (`) become untranslatable tags, as I suppose they should.

However, in the files I am translating now, some of these blocks need to be translated.

The only workaround I can imagine is to use Notepad++, search and replace all backticks by a placeholder (e.g. ""), import the modified markdown files, translate everything, "untagged" code blocks included, generate target files and use Notepad++ again to search and replace the placeholders by backticks.

Does anybody know of a more straightforward way to translate markdown files with "translatable" codeblocks ?

Parents Reply
  • And just in case it's interesting, you could also ignore the segments with the inline tags, finish the job and then at the end process the new target files to extract only the segments with inline tagsso you could get at the text.  I know it's two processes but if there is a lot of complex markup in the full file, and a lot of these inline tags, this might be useful.  If nothing else it might help with ideas for a customfiletype to deliver what you need.  I put a filetypesettings file here:

    inlinetagsonly.zip

    This delivers this from my original test file:

    Trados Studio warning message indicating that some inline tags of the source could not be transferred.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 8:00 PM (GMT 0) on 28 Feb 2024]
Children