//! Localized strings for platform-owned UI.
//!
//! `lingxia-platform` sits *below* the i18n string table (which lives in
//! `lingxia-logic`, and `lingxia-logic` depends on this crate), so it cannot
//! call the table directly. Instead the logic layer installs a translator
//! hook here once at startup; platform scenes look strings up by stable key,
//! falling back to their bundled English literal before runtime initialization.
use OnceLock;
type Localizer = ;
static LOCALIZER: = new;
/// Installs the locale-aware lookup owned by the logic layer. Later calls are
/// ignored; scenes never supply localized strings per invocation.
/// Resolves `key`, falling back when runtime localization is unavailable.