Expand my Community achievements bar.

SOLVED

Excluding references in Translation Project

Avatar

Level 2

OOTB, when we include a Page in a Translation Project, language copies are also created for all referenced assets.

 

We have tried Exclude Children option also in Translation Project, but no luck.

 

Requesting suggestions on how we can exclude the Language copy creation for references, when needed. And include when needed.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @learningNeverStops 

 

We can skip Translation of references by updating Translation configs.

 

By default, its present at: 

aanchalsikka_0-1691128176431.png

 

For Pages, select "Do not Translate" for "Translate Page Assets" dropdown

aanchalsikka_2-1691128262263.png

Similar config "is also present in Assets tab for references used in Content Fragments 

 

After edit, new location would be:

aanchalsikka_1-1691128211931.png

You can also create configs under your project specific folder

 

Please note, once "Do not translate" option is configured, reference paths would not be localized either. That is an image path "/content/dam/en/abc.jpg" would not be automatically updated to "/content/dam/de/abc.jpg"

 

 

 


Aanchal Sikka

View solution in original post

3 Replies

Avatar

Level 6

@learningNeverStops 

You need to exclude assets from the translation to avoid creating language copies of assets.

To do this you need to update the translation integration config for your project.

salamswapnil_0-1691075055501.png

salamswapnil_1-1691075240577.png

Under Assets tab Select translation method as "Do Not Translate" and uncheck "Translate Assets" checkbox.

Avatar

Correct answer by
Community Advisor

Hello @learningNeverStops 

 

We can skip Translation of references by updating Translation configs.

 

By default, its present at: 

aanchalsikka_0-1691128176431.png

 

For Pages, select "Do not Translate" for "Translate Page Assets" dropdown

aanchalsikka_2-1691128262263.png

Similar config "is also present in Assets tab for references used in Content Fragments 

 

After edit, new location would be:

aanchalsikka_1-1691128211931.png

You can also create configs under your project specific folder

 

Please note, once "Do not translate" option is configured, reference paths would not be localized either. That is an image path "/content/dam/en/abc.jpg" would not be automatically updated to "/content/dam/de/abc.jpg"

 

 

 


Aanchal Sikka