Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Script to Assist Translation Workflow

Return to Member Forum

  • Author
    Posts
    • #126936
      David Kerns
      Member

      Hi all. Digital designer with many years of Adobe/CC experience – but new to InDesign. Learning a lot largely very impressed with how it’s grown since I last tried it…maybe back when it was in beta. A lot has happened.
      I am helping to setup a document workflow for a company with a business that depends on producing content in multiple languages. My issue is with making it as easy as possible to setup a new language for translation, without compromising my life’s work of creating sane, human and machine readable file names that tell you (or a machine!) roughly what is inside. (InDesign really doesn’t seem into sane file names for things but that is another post).
      All of this to say, I want the .icml files to include some meta about the target language. (e.g. _EN or _DK). Problem with this is that doing it makes relinking a bunch of text items very time consuming. Whereas if the .icml files were of the same name I could just relink the whole folder in one go after duplicating a top level folder and manually (or with a shell script) creating the file structure.
      —————————-
      |?? MART DK
      ? |?? MART Assets DK
      ? ? |?? Exports
      ? ? |?? Translations
      ? ? ? |?? chapter-1_body_DK.icml
      ? ? ? |?? chapter-1_intro_DK.icml
      ? ? ? |?? map-caption_DK.icml
      ? ? ? |?? pull-quote_DK.icml
      ? ? ? ??? title_DK.icml
      ? ?? 050920_MART_DK.indd
      ?
      ?
      ??? MART EN
      ? ??? MART Assets EN
      ? ? ??? Exports
      ? ? ??? Translations
      ? ? ? ??? chapter-1_body_EN.icml
      ? ? ? ??? chapter-1_intro_EN.icml
      ? ? ? ??? map-caption_EN.icml
      ? ? ? ??? pull-quote_EN.icml
      ? ? ? ??? title_EN.icml
      ? ?? 050920_MART_EN.indd
      —————————-
      Anyone know where to find or how to create a script for relinking that can pay attention to the _LANG code at the end and perform a relink on the folder this way…assuming a 1 to 1 of every other segment in the file name?
      Or maybe someone can comment on this solution and just tell me how wrong it is :-) Constructive/instructive feedback or questions are very welcome.

    • #126957
      David Kerns
      Member

      OK that file structure didn’t really get communicated as I would have liked :-) But hopefully the goal is still clear.

    • #126970
      David Blatner
      Keymaster

      There are a number of companies out there who do translation workflows with InDesign, such as Redokun.com and star-ts.com/indesign-translation/
      There are also likely scripters who can create this kind of relinking automation for you. I’ll see if we can find a couple to connect with.

      • #126975
        David Kerns
        Member

        Thank you, David! I have looked at Redokun but think it’s probably too expensive and/or too many considerations or uncertainties with regard to the number of pages you can work with. Their fees are high, moreover their fee structure seems un-necessarily complicated. Also looked at smartcat.ai and it has potential but needs a lot of configuration I think to work with .icml files and, didn’t seem to have a good out-of-the-box ID workflow.

    • #14331381

      Hello, David.
      I’m script developer based on Brazil. Nice to meet you!
      I have a script to rename~/relink files.
      It’s not on my website, but on my youtube. You can see it here: https://youtu.be/yBNWmZlj7No
      I’m pretty sure it can deal with your need, but not without some manual job to make the script knowing exactly what to do. I mean, the script has a button to generate a txt file with all link names in current document. This is a two column text file. Renaming the second column items, the script will do the job quickly.
      Let me know if you want to talk.

    • #126978
      Lukáš Záleský
      Participant

      if I were you, I would set up the workflow according to the folders. instead of _DK or _EN files it is enough to use files with the same names and divide them into DK and EN folders, then just change the folder with links / 3 clicks

    • #14331384
      David Kerns
      Member

      Hi Luis – thank you for the offer and I would appreciate that very much. :-) I will get some rest now (Denmark) but will hit your video in the morning and see if I can script my way out of this with some help, and will reach out to you with news of success/failure soon. Many thanks.

Viewing 4 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads