Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Add Hindi language module and translation support (#14745)

Leo Louis1a41b3ac11a4
diff --git a/src/lang.rs b/src/lang.rs
index 85ae23c9c..682a4a51a 100644
--- a/src/lang.rs
+++ b/src/lang.rs
@@ -19,6 +19,7 @@ mod fa;
mod gu;
mod fr;
mod he;
+mod hi;
mod hr;
mod hu;
mod id;
@@ -96,6 +97,7 @@ pub const LANGS: &[(&str, &str)] = &[
("ta", "தமிழ்"),
("ge", "ქართული"),
("fi", "Suomi"),
+ ("hi", "हिंदी"),
("gu", "ગુજરાતી"),
];
@@ -175,6 +177,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
"sc" => sc::T.deref(),
"ta" => ta::T.deref(),
"ge" => ge::T.deref(),
+ "hi" => hi::T.deref(),
"gu" => gu::T.deref(),
_ => en::T.deref(),
};