💾 Archived View for bbs.geminispace.org › u › naf › 4790 captured on 2023-09-08 at 16:45:50. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-09-28)

-=-=-=-=-=-=-

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 · 12 days ago · 👍 Addison, aRubes

7 Comments ↓

🍵 michaelnordmeyer

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

— skyjake.fi/fonts/noto/

🚀 skyjake

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

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

🚀 skyjake

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

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

🚀 skyjake

@naf You should now have the access rights.

🦥 aRubes

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.