Cross-platform UI component library and 17-scheme design system for the euv framework with pixel-consistent rendering across Web, Android, iOS, iPadOS, macOS, Windows, and Linux.
usesuper::*;/// Reactive multi-locale translation catalog with zero global mutable state.
#[derive(Clone, Data, Debug)]pubstructI18nCatalog{/// Active locale identifier signal (e.g. `"en"`, `"zh"`).
#[get(type(copy))]pub(crate)locale:Signal<String>,
/// Fallback locale used when a key is absent from the active locale.
pub(crate)fallback_locale: String,
/// Locale-to-key-value translation tables.
pub(crate)tables:HashMap<String, HashMap<String, String>>,
}