Hwaro::Services::Doctor::MenuScope
The [[menus.*]] names a page may register into, resolved per
language exactly like Content::Menus.build_for_language: a
[languages.<code>] block with its own menus table REPLACES the
global set for that language, one without inherits it. Checking every
page against the global names alone flagged a Korean page that
registers into [[languages.ko.menus.footer]] as undeclared, and let
a Korean page register into a global-only menu ko never renders.
A language whose resolved set is empty is using front-matter-only,
ad-hoc menus (Content::Menus builds those regardless), so nothing
is checked for it.
Constructors
Instance methods
The language code a file name carries, mirroring
ReadContent#extract_language_from_filename: only on a
multilingual site, and only a declared code (or the default).
nil otherwise — then the suffix is part of an ordinary page name.