Has anyone tried to translate files from MarkdownPad?

Former Member
Former Member

Hello all,

I have a client who has sent me files from an application called MarkdownPad. The file extension is .md and I'm wondering if anyone has found a way to translate these in Studio? Any help would be greatly appreciated!

Best, Mindy

  • Hi Mindy,

    Yep... I did this at the ATA last year to show someone how to do it.  Scroll down a little in this article and you should get the info you need:

    Regards

    Paul

    Paul Filkin | RWS

    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

  • Former Member
    0 Former Member in reply to Paul Filkin
    Thank you for that link! I missed that post. I wish I could have gone to that event!

    When I thought I had it figured out, (I've been able to get the settings file to work and open the file!), I'm now struggling with some things. I'm having font corruption on apostrophes and quote marks (’ appears in the file).

    Somehow the client is also modifying how text is Italicized. They are using "_" before and after a word for Italics. I'm a novice when it comes to regex, so I'm having trouble figuring out which part of (?<=\s)\*{1}(?=\w+\*) and (?<!\*)\*{1}(?=\s) to update.

    Suggestions? I forgot to mention that I'm using Studio 2014.
    Thank you in advance!
    Best, Mindy
  • Hi Mindy,

    Mindy Kramer said:
    I'm having font corruption on apostrophes and quote marks (’ appears in the file

    This is definitely an encoding issue.  Here's another article for you to review:

    On the regex, try these:

    Opening
    (?<=\s)_(?=\w+_)

    Closing
    (?<!_)_(?=\s)

    The \* was the bit you needed to replace as this was looking for the star symbol in my article.

    Regards

    Paul

    Paul Filkin | RWS

    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

  • Paul, I've read your post and learned quite a bit! I've been using Trados for many years, but am a beginner when it comes to regex and creating file types. Forgive me if this is a super basic question, but would either of you be able to tell me how I can tell Trados what text to read as translatable? This needs to go under the "Document structure" section, no? I tried filling in the regex for the "Inline tags" section, but the document was marked as reference. So I added some expressions in the Document structure, and managed to get it as "translatable" but got 0 words and no segments to display. Sorry if I'm hijacking your post, Mindy. I'll create a new one if you'd prefer, but I figured I'd start here, since you both know much more about this than I do!
  • Hi Beatriz,

    Doh... completely forgot when I read your other post that *.md was a markdown filetype! Sorry, will go and update that one in a minute.

    However, it would still be useful to have a sample. The idea here is that the regex filetype will take everything as translatable, and then you specific which parts you don't want to be translated by using regular expressions.

    Make sense?

    Regards

    Paul

    Paul Filkin | RWS

    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