How to fix/convert a language copy that was create wrong? | Community
Skip to main content
Art_Bird
Level 2
December 3, 2021
Solved

How to fix/convert a language copy that was create wrong?

  • December 3, 2021
  • 3 replies
  • 1798 views

We created our language copy by basically copying the English version and making it a Spanish version. We can't scrap what we've done because the pages and their content have already be translated.

 

Is there a way to convert what we have into a language copy of the English version? Its over 100 pages per language and there's 4 translated non-English languages.

 

This is on 6.5.7 hosted with Adobe.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by B_Sravan

Hi @art_bird ,

 

Firstly, Take backup of your spanish copy.
Secondly, Create a proper language copy of English(en) and now replace the child pages of your new language copy with your backedup pages. Make sure that you maintain the necessary jcr properties.

After doing this, you can check the content refrence on the sites dashboard.

3 replies

Sanjay_Bangar
Community Advisor
Community Advisor
December 4, 2021

Hi @art_bird ,

       You need  Write a script to make corrections.

Create Servlet for this use case.

 

Kr,

Sanjay

Nikhil-Kumar
Community Advisor
Community Advisor
December 6, 2021

@art_bird - Either you need to create a new structure again or you can go ahead with Groovy/Java/ JS script to update the JCR:Properties.

Art_Bird
Art_BirdAuthor
Level 2
December 6, 2021

I've looked over the jcr properties and it looks like I should be able to add these properties to each of the translation pages.
cq:translationStatus
cq:lastTranslationUpdate
cq:translationSourcePath

 

I believe these properties only need to be on the root of the translation. IE /content/website/language-masters/de/jcr:content
cq:translationProject
cq:cloudserviceconfigs
jcr:language

 

Am I missing any properties for the language copy pages?

B_Sravan
Community Advisor
B_SravanCommunity AdvisorAccepted solution
Community Advisor
December 6, 2021

Hi @art_bird ,

 

Firstly, Take backup of your spanish copy.
Secondly, Create a proper language copy of English(en) and now replace the child pages of your new language copy with your backedup pages. Make sure that you maintain the necessary jcr properties.

After doing this, you can check the content refrence on the sites dashboard.