How to translate MadCap Flare keyword entries in Studio 2017?

Dear community,

I am having trouble translating keyword terms in HTML files created with MadCap Flare.

All I have achieved so far by using the parser settings is having those keywords displayed as uneditable tags, but I need to translate those terms to English.

This is what it looks like in the Studio 2017 editor:

Blurred screenshot of Trados Studio editor showing uneditable tags for keywords within HTML markup.

And in EmEditor:

Blurred screenshot of EmEditor displaying HTML code with keyword terms nested within h1 tags.

I understand that I need to define a rule making <MadCap:keyword term="..." /> editable but I just cannot seem to find the right settings.

Also note that those keywords are nested within further structural markups, <h1> in this specific case.

The file type is HTML 5, so I cannot leverage XPath for this.

Thank you in advance for any input you may have!



Generated Image Alt-Text
[edited by: Trados AI at 5:34 PM (GMT 0) on 28 Feb 2024]
emoji
Parents Reply
  • I don't think it was quick and dirty... but I do recall discussing this around 2014 when I was looking at these (not sure if these are a complete list or not, or whether they all contain translatable content or not):

    .htm/.html: Topic file

    .flglo: Glossary file

    .fltar: Target file

    .fltoc: Table of contents file

    .flvar: Variable set file

    .flsnp: Snippet file

    .flsfs: Search filter set file

    *.flmsp: Flare template master page file

    *flpgl: Flare template page layout file

    I think the response at the time was that without a proper spec for them and engaging with MadCap the developer was reluctant to base changes on the few examples we ever came across.  I'll see what the current thoughts are on this as the filetype hasn't evolved since it was put into Studio 2015 as part of the product.  It's still XML: MadCap 1.2 v 1.0.0.0.

    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

Children
  • without a proper spec for them and engaging with MadCap the developer was reluctant to base changes on the few examples we ever came across.

    To be honest, I would expect that a company claiming to be an industry leader WILL get in touch with MadCap when developing an official connector.
    Or at least invest a half-day or a day in some basic own research (e.g. it's not that problematic to get MadCap installed, read the documentation, do some Googling, etc.)... Still better than nothing if no official spec is available.

    Since it looks like that this did not happen (as not even the basic file extensions you just listed are included in the filetype definition), it naturally led to me to a conclusion that it was just some quick'n'dirty guerilla action...

    Regarding basing changes on just a few examples - I would think that this is what e.g. the beta forum (or the forums in general and closer personal relations with users) are for. It's easy to get connected with users of that particular functionality and improve it together... as long as the users' ideas and tips actually get implemented in a sensible time frame, of course.

  • You're right ... it's so easy I don't know why we didn't do it.  Perhaps because these other formats don't come up a lot... I hardly ever see them and the last mention I had was many years ago.  It's also simple to solve so no real urgency either.

    I have asked the question though so perhaps we'll find out shortly.

    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

  • I did have a discussion with the developer this morning on this and the reason is as I thought... we never see a demand for these so the filetype was created to support the demand.  So far it's fairly trivial to handle the others with the tools provided when you need to do it.

    I know it would be desirable for completeness, but when you have a lot on your plate the return on the investment of your time is sometimes not worth it compared to other things that really are needed.

    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

  • Well ;-)... it's fairly trivial as long as you know what to do and how to do it... which is not the case of "average Joe Translator".

    While I understand and respect the business reasons (we are, just as many other companies, in the same situation), it's precisely what drives me mad - how is one then supposed to answer the client's questions "why this doesn't work? why that is not completed? why module A doesn't do it when module B does it?"...
    Come on, product managers who made the decisions, answer these questions! You made the decision, so YOU stand in front of the potential buyers and tell them yours "nah, it wasn't worth it for us"... :-\

    That's why I always strongly push for (reasonable) completeness right from the beginning... because I don't believe in iterative improvements... that usually never happens... there's always something "more important".

    Blah... ;-)

  • Well, being the Average Joe who will mostly receive pre-made packages or at least reasonable Office formats, I was a bit lost when I received a huge package of Flare files from this client. To be honest, I hadn't even heard of this tool before. So then I quickly found out that there is a MadCap XML standard filter in Studio 2017, which is pretty much worthless without user-defined tweaks - but to do those tweaks, one needs to know more about the format than Mr. A. Joe ;)

  • That's why I always strongly push for (reasonable) completeness right from the beginning... because I don't believe in iterative improvements... that usually never happens... there's always something "more important".

    I'd agree with you Evzen... in a very simplistic world.  Sadly we don't live in that world and it's not always possible when you have many competing objectives.  So all the teams do the best they can, with the resources they have, and the time they have available.  If we see this requirement come up half a dozen times in many years then I think they probably made the right choice.

    Normally if we did overlook something we see somepone do it through the API... not just in the appstore but also in the hundreds of plugins we sign on a regular basis.  We do see many filetypes... but I can tell you we have never seen one for this.

    This time I think a certain amount of technical knowledge can be expected and we have plenty of help around to deliver it in case the "average Joe" takes on a project like this.  In this case, thanks to you, the issue is also solved.

    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

  • which is pretty much worthless without user-defined tweaks - but to do those tweaks, one needs to know more about the format than Mr. A. Joe ;)

    It would be interesting to know if the tweaks people make are always the same, and then we have a good case for adapting the filetype defaults.

    I'd also make sure that you know what is required for translation out of the files you have.  That is the most important thing when handling any XML and if the client didn't tell you, or you didn't ask, then even with the tweaks from Evzen you are going into this blindly.  I don't believe all requirements are the same as it can depend on how the client is using the authoring tool in the first place.

    It's worth pseudotranslating (use dollar symbols) some of the files as a check and look to see whether or not you are missing anything, and also if you have done too much.

    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

  • Normally if we did overlook something we see somepone do it through the API

    I'd disagree... The poor average Joe Translator just "does it somehow"... often just by typing it manually or similar crazy way... We see them here in the forum doing such things way too often even with standard formats :-\
    People in general are weird, they won't look for systematic way, they won't look for repeatable and least-effort-needed way, they will "just do it somehow", again and again and again...

    we have plenty of help around to deliver it in case the "average Joe" takes on a project like this

    Thing is that to look for help you have to know that you don't know... but when you DON'T KNOW that you don't know, then you - logically - won't ask...
    So in the end you get help (or simply information) just purely incidentally, when someone knowledgeable spots and correctly identifies the actual root cause of the issue... much like in this case.

    It would be interesting to know if the tweaks people make are always the same

    I'm pretty sure that - if anyone is knowledgeable enough to do the tweaks at all! - yes, the core of the tweaks simply MUST be the same (adding file extensions and their root elements, plus probably some additional element definitions like the keywords) by their nature.

    make sure that you know what is required for translation out of the files you have

    Heh, that's often a pure sci-fi... because the clients sending the files don't have the faintest idea :-(
    Simply because they don't have the faintest idea about such stuff related to their job... because the nowadays' damned marketing liars brainwash the users to really believe that everything is "just a few clicks" and that they don't need to know anything... So majority of the people responsible for technical tasks like localization management know about computers and Internet just about that "it's that Facebook, Twitter and Instagram, right?"...... :-(

    pseudotranslating (use dollar symbols) some of the files as a check and look to see whether or not you are missing anything, and also if you have done too much

    That's also rather sci-fi... because MadCap Flare projects usually consist of hundreds or even thousands of fgiles... so checking just some files is not enough since you easily miss those few files using some specialities like conditional or non-translatable content... and checking all files is not feasible.

  • You've got an answer for everything Evzen... but not very pragmatic.  It's a shame there aren't more of you to help make sure everyone does everything just right all of the time.

    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

  • I was a bit lost when I received a huge package of Flare files from this client

    BTW, that just confirms what I wrote - that the people creating the jobs don't have the faintest idea... simply because Flare has the option to export XLIFF files instead of the original sources.

    So again, if the client would know how to use their tool properly, you would not have any issue...

    I worked on a few Flare projects and it was always the same - the clients providing the jobs simply didn't know what the tool is capable of.