Jahia 7.3 Jahia 8

Delete the content of a language

Question

Removing a language from a site a non-destructive process and the content can be retrieved once the language is added back to the site. Is it possible to completely delete the content of a language?

Answer

Yes, that is possible. To do so, you can execute the following query to find all the content related to a certain language in the JCR Query tool:

SELECT * FROM [jnt:translation] WHERE ISDESCENDANTNODE('/sites/digitall') AND [jcr:language]='de'

You can then click on 'Show actions' and delete the content accordingly.

This is a destructive and non-reversible process. Please make sure that a proper backup has been taken.