Hi , I have updated an older project from Kirby 3.5 to 3.9 recently, mainly for the right-to-left support of the Blocks field in the panel, which was missing. But after updating, now all the fields in the panel donāt get the proper direction: rtl;, even though the language is properly set in my files and in the panel (it did work on 3.5 before updating). Itās a multilang site with 2 RTL languages. Would really appreciate if anyone could be the problem here?
Hi @texnixe, not sure I understand what you mean? The panel is set to Hebrew (he) as default (in the config and also in the languages/he.php, default => true), and in the panel I switch to Arabic or Hebrew (as you can see highlighted in the screenshot I attached, I am on āArabicā) and its still not changing to RTLā¦
Hm, doesnāt look like it, the interface looks pretty English to me? Note, Iām talking about the user language, not your selected translation language.
And when I login to the panel the default language is set to Hebrewā¦ The panel always ālookedā in English even on Hebrew (I guess because the panel isnāt translated), but all the fields appeared in the correct RTL direction. Same with Arabic. But since I upgraded, switching to Arabic or Hebrew doesnāt switch the writing direction which makes it really hard to write this wayā¦
I think my setup is correct, no? Is there any tip I could maybe try or something I am doing wrong?
Yeah, the panel is not available in Hebrew, that I understand. But on 3.5 I did not need to change the entire UI language to get the fields to be in RTL. So I could use the panel in English, but still when changing the page translation to āHebrewā, my fields (text, textarea, etc.) were in RTL, so I could write in the right direction. Trying to write in Hebrew in LTR is pretty hardā¦
My point is that when the UI is set to English (or any other LTR lang), the direction => 'rtl' as defined in the language php files, are not respected. Is that a bug?
(* when the user language is set to Arabic for example, the direction => 'ltr'as defined in the en.php, is respected, but thatās not what Iām looking for.)
Okā¦ Bit of a bummer, cause it makes the panel basically almost unusable for RTL languagesā¦ unless you change the entire panel interface to Arabic. So I would call it a bug or at least unwanted behavior.
btw, I also tried it with 3.6, 3.7, 3.8 and 3.9.