Epic #89797: HrefLang / Canonical issues
inconsistencies in hreflang output
hreflang output differs for real languages and fallback languages (non translated pages).
if there is a translation for the current page, the hreflang tags output includes only translated pages.
if there is no translation and fallback is shown, there are hreflang tags for any active language in sites config. (should be)
in site config the fallbackType for real languages is strict (de, zh), for the fallback languages the fallbackType is fallback and fallbacks is set to the related language and in addition to the default language.
#2 Updated by Peter Reichenbach 9 months ago
same behavior in the language menu, fallback languages become available.
the crux is, in the language menu i do not want the fallback languages. the language menu should show only real pages. the hfreflang tags may include fallback languages.
therefore it would be nice if the language setup has a config value for hreflang and another for the language menu.
with enabled option set to false, the page is not available in this language at all, so this option is useless.