Created attachment 186344 [details] LO misdetects Arabic text as Hindi LO doesn't enable CTL by default. However, if locale is set to Arabic, LO detects that and enables CTL. Problem is that LO enables the default which is Hindi, instead of properly detecting that the text is Arabic. See attached video: https://i.imgur.com/ghxWyks.mp4
So, how exactly did you install LibreOffice? And did this happen with no pre-existing profile?
(In reply to Eyal Rozenberg from comment #1) > So, how exactly did you install LibreOffice? And did this happen with no > pre-existing profile? Tested this on Fedora 38 Beta with latest Libreoffice version 7.5.1.2. On a fresh install, I set locale to ar_EG. Regardless what the locale is, it shouldn't detect Arabic text as Hindi.
What do you have in Tools - Options - Language Settings - Languages: Default Language for Documents - Complex text layout? I don't know if it is even supposed to autodetect anything or just go by that option.
CTL from settings also shows Hindi
(In reply to AvidSeeker from comment #4) > CTL from settings also shows Hindi Then change it to Arabic for all docs and be happy. I can inquire about how this is supposed to work.
I found bug 113298 for detecting based on keyboard layout. It is said there about the input method (IM): "we support this under Windows because the IM there has a property to indicate the language the IM is for, while under Linux we don't cause it doesn't" *** This bug has been marked as a duplicate of bug 113298 ***
*** This bug has been marked as a duplicate of bug 108151 ***