//! # Rustelo Language Crate
//!
//! Language detection and configuration for the Rustelo framework.
//!
//! This crate provides dynamic language discovery and configuration,
//! automatically detecting available languages from filesystem structure
//! and configuring the application accordingly.
//!
//! ## Features
//!
//! - **Dynamic Language Discovery**: Automatically detects available languages
//! - **Language Registry**: Central configuration for all supported languages
//! - **Metadata Support**: Language names, direction (LTR/RTL), flags, locales
//! - **Fallback Handling**: Graceful degradation when languages unavailable
//!
//! ## Usage
//!
//! ```rust,ignore
//! use rustelo_language::{get_language_registry, discover_available_languages};
//!
//! // Get discovered languages
//! let languages = discover_available_languages();
//!
//! // Get full language registry
//! let registry = get_language_registry();
//! let default_lang = registry.default_language;
//! ```

#![allow(unused_imports)]
#![allow(dead_code)]

pub mod discovery;
pub mod language_config;

// Re-export commonly used types and functions
pub use discovery::{
    discover_available_languages, get_default_language, is_supported_language,
    supported_language_count,
};
pub use language_config::{
    get_language_registry, initialize_language_registry, LanguageConfig, LanguageRegistry,
    TextDirection,
};
