• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

IDML stories hierarchy

New Here ,
Jan 17, 2023 Jan 17, 2023

Copy link to clipboard

Copied

I am using .idml files to translate large booklet layout with InDesign.

 

The issue is that when we open the .idml with our CAT – translation editor – the content is somehow disorganized. This is confusing for the person in charge of the translation.


My understanding is that the order of the content is based on the order of appearance of the stories listed in the designmap.xml file.

Can someone think of a way to rename or reorder these stories from within InDesign or with javascript to match the visual order of appearance (from top to bottom, left to right)?

TOPICS
How to , Import and export , Scripting , SDK , Type

Views

156

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 17, 2023 Jan 17, 2023

Copy link to clipboard

Copied

I believe that's the purpose of the Articles pane. Each article should be there, or be dragged there to create the list, and then the order can be assigned or sorted.

 

Not a feature I've used much; others may have better guidance. But look there to see if it's a solution for your issue.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 17, 2023 Jan 17, 2023

Copy link to clipboard

Copied

LATEST

Which CAT tool are you using? 

 

I have a pile of JS solutions for problems like this, but they're all made for reordering XLIFF IDs, not for reordering story names. So they'd be hard to adapt, but it's doable. I imagine it would be possible to remove all of the stories and re-add them in the TDLR order you specify. That would get your CAT tool to read them in your preferred order, I suspect. Similar tricks might be pulled on the designmap.xml file itself. I've not tried either one, just throwing out some guesses. 

 

But it's such a bizarre circumstance that before writing even a single line of JS, I would want to know which tool you were using. Because this is not a normal outcome from dropping one's IDML into a CAT tool, and if it's not some in-house developed tool, I would like to be able to either a) figure out how to configure it to consume IDML properly for you, or b) avoid it like the plague. I also am very curious about this little fragment: 

 

quote

My understanding is that the order of the content is based on the order of appearance of the stories listed in the designmap.xml file.

 

There are a few places one might look at designmap.xml and suspect that you'd found the "order of stories" such as <idPkg:Story src=or <Document StoryList= but I don't think that either one would work for a CAT tool to collect stories properly. It's Deeper Than It Looks.

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines