diff --git a/src/i18n/bundle.rs b/src/i18n/bundle.rs index 52b2132..d515adb 100644 --- a/src/i18n/bundle.rs +++ b/src/i18n/bundle.rs @@ -132,11 +132,14 @@ impl LocaleBundle { messages: HashMap::new(), }; + log::info!("Loading embedded files for locale: {}", locale_str); for file in EmbeddedLocales::iter() { if file.starts_with(locale_str) && file.ends_with(".ftl") { + log::info!("Found .ftl file for locale {}: {}", locale_str, file); if let Some(content_bytes) = EmbeddedLocales::get(&file) { if let Ok(content) = std::str::from_utf8(content_bytes.data.as_ref()) { let file_translations = TranslationFile::parse(content); + log::info!("Parsed {} keys from {}", file_translations.messages.len(), file); translations.merge(file_translations); } }