-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Writing Arabic in Lagrange


To be able to view Arabic text, in Lagrange one needs to install an Arabic font such as Noto Naskh UI.


الكتابة بالعربية في فضاء جديد


كيف سيظهر النص العربي في متصفحات شبكة جميني؟

حينما أكتب بالعربية ينتابني فرح المختنق لحظة دخول الهواء إلى رئيتيه. إنه شعور لذيذ، ألذ من طعم الماء بعد العطش. ففضاء التعبير بالعربية، واللغات السامية، أرحب بكثير من فضاء اللغات اللاتينية. وعلى عكس جفاف النص الوظيفي اللاتيني فإن نكهة الحروف السامية تجعل الجمل تنساب برشاقة انسياب الخمر من خوابي العنب


Once an Arabic font is installed, the Lagrange browser can render the text and properly align it from right to left.

But the input is another story! It seems nearly impossible to move between the words. The arrow keys and the backspace key do not function. I had to write the text in libre office writer then copy and past it in Lagrange.


👻 naf

2023-08-27 · 9 months ago · 👍 Addison, aRubes, Nono


7 Comments ↓


🍵 michaelnordmeyer · 2023-08-27 at 11:07:

Or just install the Noto Sans or Serif set, which has support for over 100 languages.


— skyjake.fi/fonts/noto/


🕹️ skyjake [...] · 2023-08-27 at 11:47:

The iOS and Android versions use a native text input control, which should have good RTL input support.


The desktop Lagrange uses a custom input widget and I haven't actually implemented any RTL support in it yet.


👻 naf [OP] · 2023-08-27 at 13:14:

Thank you @skyjake I used the desktop. BTW, if you need to translate Lagrange into Arabic, I would love to help.


🕹️ skyjake [...] · 2023-08-27 at 15:29:

An Arabic translation would be a nice addition. I have a Weblate set up for contributing translations:

— https://weblate.skyjake.fi/projects/lagrange/ui/ar/

If you register an account there, I'll give you full access rights to submit translations.


The UI itself will likely need a few fixes for RTL, but it should mostly work.


👻 naf [OP] · 2023-08-27 at 16:52:

@skyjake it would be my pleasure. I have just registered an account and made a few suggestions there.


🕹️ skyjake [...] · 2023-08-27 at 17:10:

@naf You should now have the access rights.


🦥 aRubes · 2023-08-27 at 23:42:

I can confirm the same for Hebrew on the Desktop. It's not a question of fonts, for those who suggested solutions. An RTL language requries at least 3 different things besides the font: Text alignment (seems like it works for Arabic), BiDi text alignment decisions (for when there's mixed sentences or words), and Input box from right to left, which I believe is the issue at hand.

-- Response ended

-- Page fetched on Sun May 19 13:35:42 2024