- Add debug-embed feature to rust-embed dependency
- This ensures i18n translations are embedded in both debug and release builds
- Fixes issue where debug builds were reading from filesystem instead of embedded assets
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add i18n to default features in Cargo.toml
- Modify I18nBundle::load() to always use embedded assets when i18n feature is enabled
- Remove confusing warning about "locales directory not found"
- Locales are now embedded via rust-embed by default
Fixes issue where translations showed placeholders like [nav-chat] instead of actual text.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added rust-embed dependency to botlib (optional, enabled by i18n feature).
- Implemented EmbeddedLocales struct to embed 'locales' directory.
- Modified I18nBundle::load to fallback to embedded assets if the filesystem path is not found.
- This resolves issues where botserver fails to find locales directory in production/container environments.