wintercms / wn-pages-plugin

Static Pages plugin for Winter CMS
https://wintercms.com/
MIT License
9 stars 21 forks source link

Translated content not duplicated #43

Closed steva82 closed 4 months ago

steva82 commented 6 months ago

Winter CMS Build: 1.2.5 Pages Plugin Version: 2.1.3 PHP Version: 8.2.0 Translate 2.1.6 (first language EN, second language IT)

Description:

When a Page with its translations is duplicated and saved, its translated content are not duplicated

Steps To Reproduce:

  1. create a page, translate its contents and save it
  2. duplicate this page
  3. edit its title, url and body in the original language
  4. select the second language but there is nothing img5

Thanks.

LukeTowers commented 6 months ago

@der-On any ideas?

der-On commented 6 months ago

@LukeTowers will have a look, you can assign it to me.

mjauvin commented 4 months ago

@der-On when creating a static page with content for other locales, it creates the page in the content/static-pages-[locale] with that locale's content ... so that's most likely what doesn't get duplicated.