pub fn validate_translation_config(
translation_config: &TranslationConfig,
) -> Result<()>Expand description
Validate translation configuration section.
Ensures batch_size is a positive integer and that
default_target_language, when set, is a non-empty trimmed string.