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

search arabic letters in arabic words

Here is my working code:
echo_Me
  • 37,078
  • 5
  • 58
  • 78
7
votes
7 answers

Trying to show arabic characters in Java

I am trying to show arabic characters in a Java applet but I always get Questions marks '?????'. I tried many solutions with no success: Using new String(bytes [], charsetName) to UTF-8 decode. Changing default Charset in Netbeans:…
J punto Marcos
  • 437
  • 1
  • 6
  • 24
7
votes
2 answers

how to display arabic numbers inside iPhone apps without localizing each digit

I want to know how to display arabic numbers inside iPhone apps without localizing each digit. like for example, I have an integer in the code whose value = 123 I want to display it as ١٢٣ without having to localize each digit on its own and force…
Evronia
  • 75
  • 1
  • 4
7
votes
3 answers

Android: Spinner text alignment to the right but not centered

I finished the English version of my application and now I am working on the Arabic localization. Arabic is a right-to-left language, so I need to adjust a lot of things in my layout, including my spinner display. I used the same approach mentioned…
Nouran H
  • 1,992
  • 5
  • 18
  • 24
7
votes
8 answers

PHP MYSQL Insert Data in Arabic Language

I am trying to insert some Arabic Language data into MySQL using PHP and an HTML form. When I insert the data in to MYSQL table, the table field represents data as مرحبا العالم. But when I access the same data with PHP and show it in my…
h_h
  • 1,201
  • 4
  • 28
  • 47
6
votes
1 answer

searchDisplayController does not display results if the iphone language is non English

I have a searchDisplayController which works perfectly when searching for English and Arabic words using a method as follows: - (void)filterContentForSearchText:(NSString*)searchText scope:(NSInteger)scope { NSString *query =…
JAHelia
  • 6,934
  • 17
  • 74
  • 134
6
votes
5 answers

Arabic: 'source' Unicode to final display Unicode

simple question: this is the final display string I am looking for لعبة ديدة now below is each of the separate characters, before being 'glued' together (so I've put a space between each of them to stop the joining) ل ع ب ة د ي د ة note how…
matt
  • 4,042
  • 5
  • 32
  • 50
6
votes
5 answers

Arabic text with custom fonts in iOS

I'm working on an application that requires arabic text to be displayed, using custom arabic font. The problem is that i'm not having any luck in displaying the arabic text using custom arabic fonts. I've tried to display the text in UILabel,…
Mustafa
  • 20,504
  • 42
  • 146
  • 209
6
votes
1 answer

How can I get vim to render Arabic text correctly?

I'm learning Arabic and I'd like to use Vim for taking notes. I tried a few different setups on Windows 10 and so far the closest to a good setup seems to be vim in MSYS2. MSYS2 renders Arabic text correctly, written from right to left, but when I…
Máté Burján
  • 103
  • 1
  • 1
  • 11
6
votes
1 answer

Android Arabic Language Support Problem in Some Devices

I'm trying to support the Arabic language. When I changed the language in the application with the following code (refer below), in most of the devices it works fine but in some devices such as Galaxy S7, Galaxy S8, LG G5 UI transforms to RTL…
savepopulation
  • 11,736
  • 4
  • 55
  • 80
6
votes
4 answers

how i can write arabic html file by vim

I can not write a html file in Arabic by vim. Tried to do the following: :set arabic :set rl or :set rightleft or :set arabicshape The problem I want to write Arabic without any change on my tags. I want her to go from left to right. How i can do…
Tarek Saied
  • 6,482
  • 20
  • 67
  • 111
6
votes
1 answer

How to integrate multi-languages support by creating language files in Django 2.0?

I want to create a Django 2.0 powered website(including auto generated Admin site) that should support multiple languages. For now I only want to keep 2 languages English and Arabic. I read number of tutorials articles on web to use django-admin's…
hygull
  • 8,464
  • 2
  • 43
  • 52
6
votes
3 answers

NodeJS : Right-To-Left Language Console Log (Arabic)

I have the following tiny nodejs script which just console logs an arabic verb: var verb = "كتب"; console.log(verb); However, the console log gives me: output: بتك - which is the verb, but inverted. (So instead of getting abc I get cba). I guess…
George Welder
  • 3,787
  • 11
  • 39
  • 75
6
votes
3 answers

Does nltk contain Arabic stop word, if not how can I add it?

I tried this but it doesn't work from nltk.corpus import stopwords stopwords_list = stopwords.words('arabic') print(stopwords_list) Update [January 2018]: The nltk data repository has included Arabic stopwords since October, 2017, so this issue…
lina
  • 75
  • 2
  • 5
6
votes
1 answer

Width of seperate letters in compound words of arabic content

I have arabic content which is compound of words like ضضضضضضض. I want to get the width of the first letter of a given word ( which is not the same as the width of an independent letter i.e. ض ). I used getBoundingClientRect() method and tried to…
psp psph
  • 65
  • 5