Dynamic template experience fragment localization is not working
Hi everyone,
I have created a React SPA project with archetype 45, created a dynamic template from SPA Page template and used experience fragment for page header so that I can leverage experience fragment localization feature for multiple language. The issue is if I create pages using both template (SPA Page, Custom Content Page) experience fragment localization is not working as expected. The fragment path I am using for both templates -

Experience fragment and content tree -

Now my expectation is when I create a page under fr/fr node the created page should have localized header. The localization works only if all the page created with same template, if I create a page with SPA Page template and another with Custom Content Page template the header fragment localization does not work properly.

/content/test-spa/fr/fr/home is created with SPA Page template -

/content/test-spa/fr/fr/home-with-custom created with Custom Content Page

Now if I create another page using SPA Page template, the fragment localization now works for pages created from SPA Page but pages created with Custom Content Page does not render the localized experience fragment. It seems the localization works only for the last used template type pages.
Why the localization is not working for both template type pages? How can I resolve this?



