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
6
votes
2 answers

Highlight Match Words of Two Arabic String (Javascript)

I'm doing search engine for Arabic which should highlight match result in red. Given 2 string: Keyword: بِسْمِ ٱلرحمن ٱلرحيم ملك Result: بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ I want to highlight match words and diacritics on the second string. The…
Coisox
  • 1,002
  • 1
  • 10
  • 22
6
votes
1 answer

Arabic text CSV file import?

I can't seem to get to the bottom of this, I want to read a csv file that contains Arabic characters but it's not reading it properly. this is my sessionInfo R version 3.2.4 Revised (2016-03-16 r70336) Platform: x86_64-w64-mingw32/x64…
Rayan Sp
  • 1,002
  • 7
  • 17
  • 29
6
votes
3 answers

how to convert english date to arabic date ios swift

in my app i am getting date in this format = "2016-02-15 10:49:59" bu i want to display it in this format "الأربعاء, 9 مارس, 2016 10:33 ص" so how can i do this? i mage showing the format in which i want iot
Govind Rakholiya
  • 109
  • 1
  • 1
  • 7
6
votes
3 answers

Insert an Arabic text MySQL

I'm trying to store an Arabic text to the table, I searched a lot but I didn't find a solution that worked for me, so this is what I got: $en = "OK"; $ar = "حسناً"; $link->query("INSERT INTO words (en,ar) VALUES ($en,$ar)"); The problem is when I…
PepsiGam3r
  • 302
  • 1
  • 4
  • 10
6
votes
6 answers

cursor in EditText hint does not start from right for Arabic

I'm trying to make EditText with a hint text: In English "password" .. the cursor is correctly set to the left. But for Arabic for which the hint is "كلمه المرور" the cursor is always set to the left (the end of the hint) instead of the…
user3623824
  • 193
  • 3
  • 13
6
votes
1 answer

Import Arabic Wordnet in python

i need to do function on arabic words by using python.. and i need to link arabic wordnet with python to do some method like : wn.synset('جميل') i find Multilingual Lexicons: AWN -…
Mona
  • 121
  • 2
  • 8
6
votes
2 answers

Set the first day of the week in JavaFX's DatePicker

Is it possible to change the first day of week on JavaFX's DatePicker when applying Arabic locale? I need to change it from Saturday to Sunday.
Eng.Fouad
  • 115,165
  • 71
  • 313
  • 417
6
votes
4 answers

MySQL diacritic insensitive search (Arabic)

I have trouble making a diacritic insensitive search with arabic text. I have tested multiple setups for the table in question: encodings in utf8 and utf16 as well as collations in utf8_general_ci, utf16_general_ci and utf16_unicode_ci. The search…
Ehsan
  • 129
  • 6
6
votes
1 answer

Insert integer to Arabic String in Start

I am trying to add integer to Arabic string but no success // Arabic String Astr = "سُوْرَةُ الْفَاتِحَة"; // String with Integer -1 num = "-"+1; // Adding Strings r = Astr + num; r = num + Astr; output : سُوْرَةُ الْفَاتِحَة-1 Desired…
user889030
  • 4,353
  • 3
  • 48
  • 51
6
votes
4 answers

c++ read Arabic text from file

In C++, I have a text file that contains Arabic text like: شكلك بتعرف تقرأ عربي يا ابن الذين and I want to parse each line of this file into a string and use string functions on it (like substr, length, at...etc.) then print some parts of it to an…
CSawy
  • 904
  • 2
  • 14
  • 25
6
votes
4 answers

Arabic string: get actual Glyph (contextual shaping)

I have an arabic String. For instance: رامات راحيل In Arabic, the same letter has a different glyph according to the letter position. So letter Lam is ل if Isolated or Initial, while is ﻟ if it's medial or final. When I transform the original string…
Matte
  • 195
  • 1
  • 10
6
votes
1 answer

Arabic word Searching from Arabic text File

I am working on a Quran application. I have text file(UTF-8) of the Quran (in Arabic language). I want to search my Arabic word from the Quran. I want to write an Arabic word of Quran without Aarabs e.g. Zaber, Zair, shud, Mud and Paish. Aarabs are…
M.ArslanKhan
  • 3,640
  • 8
  • 34
  • 56
6
votes
3 answers

Arabic characters don't show in excel VBA code

I can't write arabic strings in VBA code in excel, it shows as weird characters. Tried it on many machines with excel 2013 or 2010, on windows 8 or windows 7, with or without arabic proofing tools installed. Arabic language is already installed on…
CloakMaster
  • 61
  • 1
  • 1
  • 3
6
votes
1 answer

Why are String.IndexOf and String.Contains disagreeing when provided with Arabic text?

I want to know if I found a bug in the .NET Framework, or if I don't understand something. After running this piece of code: var text = "مباركُ وبعض أكثر من نص"; var word = "مبارك"; bool exist = text.Contains(word); int index =…
gil kr
  • 2,190
  • 1
  • 17
  • 23
6
votes
2 answers

searching arabic words that have diacritics in mysql

to make my question simple anyone knows why this query returns true SELECT 'الجنة' ='الْجِنَّةِ' COLLATE utf8_unicode_ci ; while this query returns false SELECT 'الجنة' LIKE '%الْجِنَّةِ%' COLLATE utf8_unicode_ci ; and how could I let the later…
Essam Elmasry
  • 1,212
  • 11
  • 11