dokuwiki-plugin-translation
dokuwiki-plugin-translation copied to clipboard
Move / rename translated page
Hi, and thanks for this great and very helpful plugin ! This is not a bug report but a feature suggestion...
I'm sometimes using the move plugin to move / rename pages. It works quite well but -for now- breaks the link between different translations of a single page, because not moving / renaming the relative pages. However, I'm sure this can be solved because the move plugin emits some events before processing the move. I think this could be used to check in the "translation namespaces" if a translation of the page to be moved/renamed exists, and (if so) move/rename it accordingly as well.
If someone thinks it would be useful and has the skills (I do not !), please be very welcome !
Test:
- create a page in default language L1
- create a translation of this page in L2 (containing a link to L1)
- move and rename L1
Result :
- L1 is moved and renamed
- link to L1 in page L2 is well updated by the 'move' plugin
- L2 is not moved/renamed following L1 new name
- when reading L1 and changing language to L2, the translated page is not found anymore :(
Expected : -when reading L1 (after move/rename of this page) and changing language to L2, the translated page is still found and displayed ! :)
This is a great idea!