Skip to content

Build your personal knowledge base with Trilium Notes

feat(note_language): add right-to-left languages

Elian Doranc6b3c1bf884b
diff --git a/src/services/i18n.ts b/src/services/i18n.ts
index 0c0330209b..03bf98d8c0 100644
--- a/src/services/i18n.ts
+++ b/src/services/i18n.ts
@@ -50,6 +50,28 @@ export function getLocales() {
{
id: "ro",
name: "Română"
+ },
+
+ /*
+ * Right to left languages
+ *
+ * Currently they are only for setting the language of text notes.
+ */
+ { // Arabic
+ id: "ar",
+ name: "اَلْعَرَبِيَّةُ"
+ },
+ { // Hebrew
+ id: "he",
+ name: "עברית"
+ },
+ { // Kurdish
+ id: "ku",
+ name: "کوردی"
+ },
+ { // Persian
+ id: "fa",
+ name: "فارسی"
}
];
}