We are using one website tree for all languages as described in http://documentation.magnolia-cms.com/display/DOCS45/Language#Language-Onehierarchyormany
In order to language-specifically hide a document in the navigation it seemed logical to set the property i18n=true in /modules/standard-templating-kit/dialogs/generic/controls/hideInNav But it does not work. The problems: 1. The checkboxSwitch property really has three states A) true B) false C) not there. Initially it is in state C, after the dialog has been saved it is in A or B 2. When the property is not there, the value of the fallback language (en in our case) is used. This works well for string properties but is really confusing for boolean properties Possible solutions: I) Change the implementation of checkboxSwitch to allow three states: true, false, inherit. Inherit removes the property and the fallback languages are used II) Use two properties. One with i18n=true, one with i18n=false. Since the intention of the property is to HIDE, the document should be hidden if either of the properties is true. The fallback language somehow should be disabled for this property III) Multiple checkboxes. One per language. An additional checkbox for all languages or a button which sets/clears all checkboxes using Javascript. What do you think? Cheers, Roland -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=4de5c2c2-93cc-4e47-bf97-0f46944c40fa ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
