Files
log/src/commands/lang.rs
2026-01-18 18:08:53 +09:00

11 lines
271 B
Rust

use anyhow::Result;
use std::path::Path;
use crate::lms;
/// Translate content files from one language to another
pub async fn translate(input: &str, from: &str, to: &str) -> Result<()> {
let path = Path::new(input);
lms::translate::run(path, from, to).await
}