Hi,
Regarding the language fallback for a page, ( as mentioned here in your user guide ) can I disable it programatically?
My site has 2 languages, en-NZ and en-AU.
I have a scheduled job that adds 'ProductPage' content under a 'CategoryPage'. I need the parent page (CategoryPage) to be in en-AU and this needs to be the fallback language for en-NZ. Product pages created under it need to be available in either Australia (en-AU) or New Zealand (en-NZ), or both.
My problem is that each 'ProductPage' is getting created with language settings marked as 'Inherit settings from the parent page', so products that are not available in en-NZ are allowed to fallback to en-AU... but I don't want this.
Is there a way to prevent a page from inheriting its fallback language (without unticking it in the cms)?
I appreciate any help
Thanks
Dan