This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-5b9bde52-61ca-4cd6-873a-544aedbb8d46 XWIKI-23534 Open

Cannot create a translation for a child locale as long as the translation for the parent locale exists

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-fd9d60f7-0ed7-442b-b01a-67d6c0e773f9 Marius Dumitru Florea created this issue on 17/Sep/25 14:36
 
Summary: Cannot create a translation for a child locale as long as the translation for the parent locale exists
Issue Type: cid:jira-generated-image-avatar-5b9bde52-61ca-4cd6-873a-544aedbb8d46 Bug
Affects Versions: 17.8.0-rc-1
Assignee: Unassigned
Components: Old Core
Created: 17/Sep/25 14:36
Priority: cid:jira-generated-image-static-major-89af8a9a-0976-4821-b76e-7db1edb9e679 Major
Reporter: Marius Dumitru Florea
Description:

Follow these steps to reproduce:

  • Enable multilingual and configure 3 supported languages: English, French and French (Algeria)
  • Create a page with default language English
  • Translate the page in French
  • Try to create the French (Algeria) translation
    • From Wiki editor the UI shows the expected information, but after you save you realize that you actually updated the French translation, not the French (Algeria) one
    • At the same time the link to create the French (Algeria) translation from the Information tab, which should take you to the inplace editor, doesn't work: the inplace editor doesn't load

This problem doesn't reproduce if the parent locale (e.g. French) is the default locale of the page. I suspect the problem is related to the fallback we do when a translation is missing: if the child locale, e.g. French (Algeria), is missing we fallback on the parent locale, e.g. French.