Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move / rename translated page #133

Open
cmayet opened this issue Jan 31, 2018 · 1 comment
Open

Move / rename translated page #133

cmayet opened this issue Jan 31, 2018 · 1 comment

Comments

@cmayet
Copy link

cmayet commented Jan 31, 2018

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 ! :)

@sennewood
Copy link

This is a great idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants