-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Description
Description
I added a new language in my settings.py, English in my case, since Croatian is the default. When I translate my pages from Croatian to English the template is automatically set to "Inherit the template of the nearest ancestor" instead of respecting the template selected in my default language.
Steps to reproduce
- Add a new language in settings.py
- Go to Django admin - Django CMS (Page Contents) - Select a new language from the dropdown
- Fill in the Title translation and save
- Template does not get copied from the default language so you have to set all the page templates again for all the new languages added
Expected behaviour
- Add a new language in settings.py
- Go to Django admin - Django CMS (Page Contents) - Select a new language from the dropdown
- Fill in the Title translation and save
- Template from the default language gets copied to the newly translated page
Actual behaviour
The template is automatically set to "Inherit the template of the nearest ancestor" instead the one preselected on the default language.
Screenshots
Original language template:

When language is translated:

Additional information (CMS/Python/Django versions)
Django 5.1.3
Django CMS 4.1.4
Python 3.10
Django Modeltranslation 0.19.11
MySQL 8 DB
Do you want to help fix this issue?
- Yes, I want to help fix this issue and I will join the channel #pr-reviews on the Discord Server to confirm with the community that a PR is welcome.
- No, I only want to report the issue.