aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-07-13 09:47:50 +0000
committerMario <mario@mariovavti.com>2023-07-13 09:47:50 +0000
commit70b8c57d220aaaa361967343e2ca7dfa62632569 (patch)
treeca2c5d42d192bb0841b43b821f7cd1c95bbde609 /include
parent3d866e89757b8aafe58489f9575f6895029090d1 (diff)
downloadvolse-hubzilla-70b8c57d220aaaa361967343e2ca7dfa62632569.tar.gz
volse-hubzilla-70b8c57d220aaaa361967343e2ca7dfa62632569.tar.bz2
volse-hubzilla-70b8c57d220aaaa361967343e2ca7dfa62632569.zip
basic per item rtl language support - issue ##1780
Diffstat (limited to 'include')
-rw-r--r--include/language.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/language.php b/include/language.php
index e7363cffb..d84f02a36 100644
--- a/include/language.php
+++ b/include/language.php
@@ -451,3 +451,20 @@ function lang_selector() {
return $o;
}
+function rtl_languages() {
+ return [
+ 'ar',
+ 'arc',
+ 'ckb',
+ 'dv',
+ 'fa',
+ 'ha',
+ 'he',
+ 'khw',
+ 'ks',
+ 'ps',
+ 'sd',
+ 'ur',
+ 'yi'
+ ];
+}