Index: openacs-4/packages/xowiki/tcl/package-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/package-procs.tcl,v diff -u -r1.331 -r1.332 --- openacs-4/packages/xowiki/tcl/package-procs.tcl 5 Feb 2019 16:21:49 -0000 1.331 +++ openacs-4/packages/xowiki/tcl/package-procs.tcl 9 Feb 2019 00:18:28 -0000 1.332 @@ -1091,11 +1091,15 @@ #:log "item_info_from_url returns [array get {}]" } - if {$(item_id) == 0 && [:get_parameter use_fallback_page_in_system_locale 0] eq "1"} { - set system_lang [string range [lang::system::locale] 0 1] - if {$system_lang ne $lang} { - array set "" [:item_info_from_url -with_package_prefix false -default_lang $system_lang $object] - :log "item_info_from_url based on system_lang <$system_lang> returns [array get {}]" + if {$(item_id) == 0 && [:get_parameter fallback_languages ""] ne ""} { + foreach fallback_lang [:get_parameter fallback_languages ""] { + if {$fallback_lang ne $lang} { + array set "" [:item_info_from_url -with_package_prefix false -default_lang $fallback_lang $object] + if { $(item_id) != 0 } { + :log "item_info_from_url based on fallback_lang <$fallback_lang> returns [array get {}]" + break + } + } } }