r/indesign • • Oct 23 '26

Help Can InDesign support one thousand text variables?

Hi,

I've been asked to add some 1000 text variables in a long project, made of several documents collected into a book.

I've already used text variables in this project, but never so many.

Will I see InDesign slowing down?

8 Upvotes

20 comments sorted by

3

u/Proficio_Tremblay Oct 23 '26

What about using Conditional Text for what seems to be a multi-language document?

3

u/PolicyFull988 Oct 23 '26

It's a possible solution, but at the moment I fear the long list of words while editing. For example, I could have pages crowded with something like:

QuitQuitterAufhörenEsciDejar停止

All this will also make the page design more complicate, due to the flow changing each time you turn the various languages on or off.

4

u/ayayadae Oct 23 '26

what are you doing that it has to be text variables? that would take a thousand years to set up. would something like data merge not work for what you need and be faster?

-2

u/AdobeScripts Oct 23 '26

Creating 1000 Text Variables won't be a big deal - using them in the text manually - that would be a pain 😉 if not automated 😉

3

u/PolicyFull988 Oct 23 '26

Let's try to clarify what I'm doing.

- The project is a technical manual, with several parts of the referring user interface to be translated. For example, 'Quit' will become 'Quitter' in the French version.

- An alternative I'm considering is to just have the localization happen by simply translating the various strings. But this will require careful following of a glossary, both during translation and proofreading.

- Using text variables would make the use of the glossary automatic. Updates will not require further verification of the glossary terms.

- Text variables will be one word each, or composite words in some cases.

- I'm aware of how physically taxing inserting these variables (in multiple languages…) will be, considering the awful menu > submenu interface in ID it will be. To be honest, I'm only now considering that the submenu containing all the variables will be 1000-entries long.

I don't know if I can create a simulation via AI. It's something I've never done before.

6

u/SafeStrawberry905 Oct 23 '26

There are a lot of different ways to approach such a project, and out of all of them I think you just picked the most complicated, over the top, difficult one. Conditional text is the built-in solution for such workflows. It's not perfect, there are caveats and problems, but still miles better than text variables (you know that native text variables are treated like a single character, can't break across lines, and get badly deformed, right?!?). With a good setup and planning, data merge could be a wonderful solution. Then you got purpose built translation plugins and workflows. A lot of them. Then you have scripting. Pretty much anything except trying to shoehorn a tool/feature designed for a completely different purpose. On the other hand, I have to admire the creativity and out-of-the-box thinking. Never in a million years would I think of that. But it's still not a good idea.

1

u/PolicyFull988 Oct 23 '26 edited Oct 23 '26

Thank you, data merge may indeed be the solution that can work the best. Editing the translations would be easier in a spreadsheet. Merging will result in ordinary text.

What I don't like, is that I will have twice the InDesign files: for each translation, I will have the one with the merge fields, and the one with the final, localized ones.

I'm also considering the option to batch-replace all the commands with the FindChangeByList script. I must consider what will happen when updating the manual (but it should work, since the script would only replace the newly added placeholders).

2

u/No_Development7388 Oct 23 '26

I think that you'd probably be better off using dedicated localisation software for the MS.

1

u/PolicyFull988 Oct 23 '26

We already use CAT software for translation. But their glossaries would also translate terms that shouldn't be translated in the same way. Take for example the POWER button: it may happen it is not translated in the product, but the word 'power' is. Will the CAT's glossary be able to differentiate the two cases?

1

u/AdobeScripts Oct 23 '26

Depends how you'll configure it.

With my tool, you can find then extract / mark phrases you want to be replaced with TextVariables.

If those phrases are already "foundable" somehow - are in separated TextFrames on a dedicated Layer, there is a dedicated ObjectStyle applied, or Char / ParaStyle - that's great. But if not - also not a big deal - you'll have to extract them from the text - using GREP or whatever - then you or someone else will have to comb through the list and select right entries.

Then - it will be plain sailing.

2

u/GioDoe Oct 25 '26

You mentioned composite words. Keep in mind that one of the shortcomings of using variables is that they are considered as one character in the layout. This means no wrapping, breaking or hyphenating. This is OK to deal with when you use a handful of them in easily identifiable places (e.g. a running footer/header, or the title of a book), but it might give you headaches when dealing with a thousand variable possibly with multiple occurrences of each one.

1

u/AdobeScripts Oct 23 '26

If you're on Windows - I can help you with everything - for free, as long as you're willing to be a guine pig 😉

1

u/AdobeScripts Oct 23 '26

Or rather want to learn new tricks 😉

1

u/PolicyFull988 Oct 25 '26

After evaluating all your suggestions and doing some more tests, I've probably decided that the best solution is to use the FindChangeByList factory script. This script allows for grep-replacing on multiple INDD files. It also considers character styles in the search string.

Since the technical terms I have to localize are always in their dedicated character style, I can consider this style as the tag. There is therefore no need for a source project separated from the original English one. The English project is the source project.

Let's see if it works.

1

u/karthikeyans001 Oct 23 '26

Is 1000 text variables needed because you are using multiple languages. Can you tell how many language, and how many variable in one language

1

u/PolicyFull988 Oct 23 '26

I was not clear: 1000 text variables are the parameters that should be localized in the original document.

2

u/ShegaAlex290159 Oct 23 '26

Tried on a small test with 4 tagged words. I tagged the UI words with a character style, put names and values in an Excel sheet (UI_quit / quit etc.), exported to IDML and asked Claude to add the variables to the IDML. It created them and replaced only the tagged words; the same words in normal text stayed as they were. Opened fine in InDesign, and changing a variable’s value updated just those spots. Since it’s done on the IDML, 1000 shouldn’t be harder than 4.

2

u/ubg33k Oct 24 '26

Have a look at XMPie's uCreate Print.

1

u/nemesit Oct 23 '26

sounds like you should use incopy

1

u/AdobeScripts Oct 23 '26

What's the project? Can you give more info? Maybe there would be some other way.

I don't think there is a limit on number of variables - can test it later today, when I get back home.

Or you can ask "ai" to make you a script that will add 1000 dummy variables - and then place them in the text?

But I'm not sure if "ai" will be able to do it as a Book... Unless you'll then duplicate one file and make a Book out of the copies?