Delete translation of a page & language specific labels
Hi,
we're using Scroll Translation together with Scroll Viewport.
The default language is set to German. I've got a page which is translated to English. Now I don't want the English translation to be shown anymore, instead the page should not be displayed in the English content menu.
How do I completely remove a specific translation (with title & content) from a page. I already tried the storage editor in Confluence removing the English translation macro. This doesn't solve the problem.
Another solution would be the ability to set language specific labels to pages. As we use label to control certain Viewport functions, setting a label specific for English language translation would be great.
I read :
https://k15t.zendesk.com/hc/en-us/community/posts/360000779623-Removing-a-translation-
but there is no answer to this question except contacting support.
Best regards
Jan-Peter
-
Hi Jan-Peter,
if I understand correctly you would want the page to be reset to the way it was before English translation was first added. There is no officially supported way to do this through the UI, but we have a private REST API you can use. Keep in mind that we do not officially support the REST API. So changes to it might occur without notice.
This REST API request would remove the content from the defined language of a page and mark the translation as not done. Do a DELETE request to URL {Confluence Base URL}/rest/scroll-versions/1.0/translation/{pageId}/{languageKey}
where- pageId in the Confluence Page ID that can be found out by accessing Page Tools → Page Information. The id will be visible in the URL.
- languageKey is the key of the language (e.g. en for English)
Does this help?Roman.
Please sign in to leave a comment.
Comments
2 comments