Questions tagged [arabic]

The Arabic tag is for issues relating to displaying user interfaces and managing data in Arabic written language.

In the localization or internationalization of user interfaces, and/or in the encoding/decoding of text, Arabic languages may present particular issues such as Unicode BiDi support (see also: , ).

Unlike other RTL languages (e.g. Hebrew), Arabic letters are written connected so same letter may have more than 4 glyphs as some combinations have specific glyphs. For example, Arabic text should be in the normalized form before processing (indexing ...) It should be mentioned that Unicode offers different methods for representing arabic letters, not only for the different connected glyphs, but also for vowel signs.

Popular questions related to common Arabic related issues:

Useful Arabic libraries

  • Ar-PHP: A collection of libraries to process Arabic text, such as text normalization, rendering Arabic text on images, etc.
2280 questions
8
votes
1 answer

how to match arabic word with "tashkel"?

i'm using the following function to highlight certain word and it works fine in english function highlight(str,toBeHighlightedWord) { toBeHighlightedWord="(\\b"+ toBeHighlightedWord.replace(/([{}()[\]\\.?*+^$|=!:~-])/g, "\\$1")+…
Hager Aly
  • 1,113
  • 9
  • 25
8
votes
1 answer

Reading arabic data text in R and plot()

R appears not to handle arabic text very well. Though it is possible to type some arabic strings like Names <- c("سليم", "سعيد", "مجدى"). Now I use word or excel to write longer lists of name and save the file as text. I can import the file in R…
Shabana
  • 155
  • 1
  • 6
8
votes
2 answers

Anyone know how to use Regex in notepad++ to find Arabic characters?

I am trying to detect Arabic characters in a webpage's HTML using Notepad++ CTRL+F with regular expressions. I am entering the following as my search terms and it is returning all characters. [\u0600-\u06FF] Sample block of random text I'm working…
0xhughes
  • 2,703
  • 4
  • 26
  • 38
8
votes
1 answer

Arabic text messages in matlab

When I show any message dialogue like warning dialogue or help dialogue using Arabic text as the message it's not shown in a proper way. Examples: English: helpdlg('Hello World !!'); Arabic: helpdlg('أهلا أيها العالم'); My thoughts goes to…
Sameh K. Mohamed
  • 2,323
  • 4
  • 29
  • 55
8
votes
1 answer

Last Harka is showing before the first character of the line in Arabic Reshaper on Android

I am using this Amazing Arabic Reshaper for my app on Android, Every thing works fine, but there is a little problem with it that it always shows last Harka (Harki) before the first character of the line in Android, I have also tried gravity right…
Muaz Usmani
  • 1,298
  • 6
  • 26
  • 48
8
votes
5 answers

Fast transliteration for Arabic Text with Python

I always work on Arabic text files and to avoid problems with encoding I transliterate Arabic characters into English according to Buckwalter's scheme (http://www.qamus.org/transliteration.htm) Here is my code to do so but it's very SLOW even with…
Sabba
  • 561
  • 2
  • 6
  • 15
8
votes
3 answers

How important is mirroring the _entire_ user interface for Arabic speakers?

I've been researching about adding Arabic localisation into our software. I understand that mirroring of some controls is essential, such as the relationship of labels and textboxes: any labels that are to the left of textboxes in left-to-right…
Sean R
  • 1,519
  • 2
  • 13
  • 16
7
votes
2 answers

Android Arabic Language

I'm trying to make an app in Arabic Language for Android 2.2. I write a text to code such as: البُرتُقال نوع من أنواع الحمضيات وهو مصدر ممتاز لفيتامين سي ويساعد فيتامين (سي) في البرتقال على امتصاص الكالسيوم في الجسم ، كما يحتوي أيضا على فيتامين أ…
juliadream
  • 251
  • 1
  • 4
  • 16
7
votes
5 answers

how to I use an Arabic font in my css?

I just found out that there is no generator for Arabic fonts, because of the issue of connecting the letters... Does that mean that the only choice I have is to get it from fonts.com? Does anyone know of a place were I can get good quality arabic…
L1900
  • 137
  • 1
  • 4
  • 9
7
votes
1 answer

Solr for Arabic

I'm using Solr to index documents in 3 langues(arabic, french and english), I have used this fieldType :
7
votes
1 answer

How can I render a Farsi or Arabic text with connected glyphs in JavaFX

I want to display a text with JavaFX. The message is Farsi or Arabic. However, as described here, the representation shape of a Farsi or Arabic letter depends on its adjacent letters. If I build a TextFlow with a single Text containing the whole…
vahidreza
  • 843
  • 1
  • 8
  • 19
7
votes
1 answer

Creating custom JFileChooser

To create an Arabic JFileChooser (RTL) I use the following: MyFileChooser: import javax.swing.JOptionPane; import javax.swing.UIManager; import javax.swing.JFileChooser; import javax.swing.filechooser.FileNameExtensionFilter; import…
Eng.Fouad
  • 115,165
  • 71
  • 313
  • 417
7
votes
5 answers

Android Translating To Arabic

I am working with an Arabic translator who is translating my strings.xml from english to arabic. I realize that only Honeycomb or Cyanogen roms will support arabic rendering, but that is ok. Our problem is that the text keeps getting flipped around.…
swinefeaster
  • 2,525
  • 3
  • 30
  • 48
7
votes
4 answers

How to Download webpage as .mhtml

I am able to successfully open a URL and save the resultant page as a .html file. However, I am unable to determine how to download and save a .mhtml (Web Page, Single File). My code is: import urllib.parse, time from urllib.parse import…
Ghulam
  • 135
  • 1
  • 8
7
votes
1 answer

Xcode .strings File does not seem to support Arabic Text

I created an app that I envisioned being localizable. So, I created a .strings resource file to keep my menu and alert message text, etc. When the time came for me to say: "MyStringKey" = "السلم" the Arabic letters became juxtaposed as I was typing…
user273565
  • 205
  • 1
  • 15