When opening an edit dialog in page app, defaultLocale is taken from the default site and not from node-based I18NAuthoringSupport.
Additionally, the DefaultI18NAuthoringSupport.i18nize(...) method wrongly uses the fallbackLocale to add a suffix to i18nizable properties. It should instead use the defaultLocale.
- Add getDefaultLocale(Node node) and getI18nContentSupport(Node node) methods for DefaultI18nAuthoringSupport.
- Used Extended18NAuthoringSupport as workaround (we don't want to change interface in minor version).
- Use introspection to check if getDefaultLocale(Node node) method exists and invoke it if it is. Remove this once
Both solutions have in common:
- Add getRelatedFormItem() to BasicTranformer and then using it in DefaultI18NAuthoringSupport.i18nize(...) to get node-based I18NAuthoringSupport from nodes created by FormBuilder.
The described behavior was also detected on the defaultLocale (