Añade soporte para localización y traducción

- Incluye recursos Fluent básicos y pruebas asociadas.
- Nueva variable de configuración global para definir el idioma
  predeterminado.
This commit is contained in:
Manuel Cillero 2025-07-09 20:39:39 +02:00
parent efc4839613
commit 208ad83bea
13 changed files with 780 additions and 3 deletions

View file

@ -2,7 +2,7 @@
mod figfont;
use crate::{global, service, trace};
use crate::{global, locale, service, trace};
use substring::Substring;
@ -26,6 +26,9 @@ impl Application {
// Inicia gestión de trazas y registro de eventos (logging).
LazyLock::force(&trace::TRACING);
// Valida el identificador de idioma por defecto.
LazyLock::force(&locale::DEFAULT_LANGID);
Self
}