It would be very useful to be able to reset or flush the translations of individual panes. When you create a new pane, all the languages appear with a strike-through and when they are translated, that is removed, eg:
Default, English, French, Spanish, Italian, German
There are occasions where a significant change is made to the default language and I find that I would like to have the opportunity to reset selected or all languages to return them to an untranslated state, forcing the multilingual panes to again inherit the default language, so it may return to:
Default, English, French, Spanish, Italian, German
Comments
Comment #2
qwaygon commentedFeature implemented and can be found in 7.x-1.2, note that you can only delete one translation at a time, but its not a time consuming process, also page is not updated after removing translation, so if you do it by accident, just press "Save Translation" to restore settings in current form.
Comment #3
qwaygon commentedComment #4
jaydee1818 commentedThanks a lot for getting on to this so quickly. This perhaps may now need to be opened as a new issue but I'll just add it here for now:
I updated to 7.x-1.2 and I can now see a "Remove Translation" button on each translated pane. I tested by clicking on the Chinese pane on one of my panels pages and it reverted to the English Default as expected. After saving and returning to the page view and changing the language to Chinese, the pane was still in Chinese. I tried flushing all caches and still the pane was displayed in Chinese. I then went back into the backend view and the Chinese was struck-through and the default was being displayed in the Chinese pane. I then re-added the Chinese content and then altered it slightly to see if the change had an affect and saved. In the display, I could see the Chinese with the new alteration.
So it seems that if you "remove a translation", the default content will display in the backend, but the page display, it seems to retain the old content until new content is saved over the top of it. This is not a big problem but I think the ideal solution would for the Default to be displayed in the main view if a translation has been removed.
Hope that makes sense. Cheers.
Comment #5
qwaygon commentedI just tried and can't reproduce this, nor i can imagine a reason for this at this moment. Are you sure that you didn't press "save translation" after you delete it, as this is intended way to revert accidentally deleted translation?
please try again and make sure that after you delete translation you either press "cancel" or switched to "default" language tab and press "finish".
Also if you forget to press "Update and Save" for your panel page it will totally explain your situation, so please make sure you save page after making changes to the pane.
It maybe some internal caching on your site of some other modules influence (as my development version of this module is installed on close to mint D7 with all caching disabled, and i'm testing on "custom content" default pane)
p.p.s if nothing helps then i need some sort of video/screencast of what you are doing, since I've tried this several times and each time it went well.
Comment #6
jaydee1818 commentedok thanks - you're right. It works, I was actually looking at the wrong area when I thought the changes weren't taking affect. Sorry about that and thanks again.