How to set language to [No Language] via FindChangeList.txt

New Here ,
Feb 19, 2021 Feb 19, 2021

Copy link to clipboard

Copied

I'm trying to remove all language tags from the HTML export of my .indd file.

 

I have the following line in my FindChangeList.txt file that does not work properly.

 

grep {findWhat:"(?s).+|~F"} {changeTo:"[No Language]"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Remove language tags.

TOPICS
How to, Import and export, Scripting

Views

47

Likes

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
Adobe Community Professional ,
Feb 19, 2021 Feb 19, 2021

Copy link to clipboard

Copied

LATEST

Hi Daniel,

try this:

 

{ appliedLanguage : app.documents[0].languages[0] }

 

 

Do not use: { changeTo :  "[No Language]" }

 

FWIW: Successfully tested my suggestion with my German InDesign 2020 on Windows 10.

 

Regards,
Uwe Laubender

( ACP )

Likes

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