You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Duplicating an entry that has a locale that is not the default locale, creates an entry on the default locale, but it displays the incorrect locale while creating it.
As an example: You have an entry with locale DE on the content type Test, you click the duplicate button, you go to the page of the newly created entry, and you are shown on the frontend the locale DE, even though the entry is actually on locale EN. Switching the locales fixed the inconsistence situation.
This is very confusion for non-technical people that might be handling strapi.
Steps to reproduce the behavior
Here is a video of the situation:
strapi-i18n-bug2.mp4
Go to an entry in a locale that is not the default, for example DE.
Click on the duplicate button
You will see a screen with the data duplicated and the locale shown will be the one you were in, for example DE. But the entry is actually created in the default locale, for example EN.
If before you save you go back and forth on the locales, meaning you switch to the default locale (for example EN) and then back to the previous locale (for example DE), then you will be in a consistent state where the locale shown is the actual locale where the duplicated entry was created.
But even though this is not supported, it is expected that the fronted displays consistent information. So following the setup of the video with EN as the default locale and DE an additional locale:
When I am in an entry on the DE locale and I click in duplicate
I expect to at least end up in a newly created entry that is shown to be in the EN locale right away.
3.So I can bring the data to DE locale if I wish, and remove it from the EN locale if I don't want it there.
Additional context
I believe this is related to others i18n issue, for example to the comment I left on this bug: #18550 (comment)
The text was updated successfully, but these errors were encountered:
Bug report
Required System information
Describe the bug
Duplicating an entry that has a locale that is not the default locale, creates an entry on the default locale, but it displays the incorrect locale while creating it.
As an example: You have an entry with locale DE on the content type Test, you click the duplicate button, you go to the page of the newly created entry, and you are shown on the frontend the locale DE, even though the entry is actually on locale EN. Switching the locales fixed the inconsistence situation.
This is very confusion for non-technical people that might be handling strapi.
Steps to reproduce the behavior
Here is a video of the situation:
strapi-i18n-bug2.mp4
Expected behavior
I know that strapi does not currently support duplicating an entry that is not in default locale, there is a feature request for this: https://feedback.strapi.io/customization/p/duplicate-item-does-not-copy-translations
But even though this is not supported, it is expected that the fronted displays consistent information. So following the setup of the video with EN as the default locale and DE an additional locale:
3.So I can bring the data to DE locale if I wish, and remove it from the EN locale if I don't want it there.
Additional context
I believe this is related to others i18n issue, for example to the comment I left on this bug: #18550 (comment)
The text was updated successfully, but these errors were encountered: