Create ta.rs (#11068)

* Create ta.rs

* Update lang.rs
This commit is contained in:
Naveenkumar
2025-03-10 18:37:15 +05:30
committed by GitHub
parent f0f999dc27
commit 5f521c80a7
2 changed files with 664 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ mod tr;
mod tw;
mod uk;
mod vn;
mod ta;
pub const LANGS: &[(&str, &str)] = &[
("en", "English"),
@@ -89,6 +90,7 @@ pub const LANGS: &[(&str, &str)] = &[
("he", "עברית"),
("hr", "Hrvatski"),
("sc", "Sardu"),
("ta", "தமிழ்"),
];
#[cfg(not(any(target_os = "android", target_os = "ios")))]
@@ -164,6 +166,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
"he" => he::T.deref(),
"hr" => hr::T.deref(),
"sc" => sc::T.deref(),
"ta" => ta::T.deref(),
_ => en::T.deref(),
};
let (name, placeholder_value) = extract_placeholder(&name);