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

Layout changes if device language is Arabic

I have designed an Android app, when I test it in a device it's language is Arabic ,the position of image views changes ,like a mirror ! I need a solution to make the layout the same as for English ,because I have image views and I made a…
12
votes
3 answers

Set default Locale to DatePicker and TimePicker

I'm using a DatePicker and a TimePicker in a custom Dialog. The functionality works fine, but I have a problem when I change the default Locale of the app to match the Arabic language. The problem is that the DatePicker and TimePicker are not…
12
votes
2 answers

NSDiacriticInsensitiveSearch and arabic search

As known, the NSDiacriticInsensitiveSearch does not do the same effect on arabic letters like it does on french. That's why i'm trying to create the same effect but with arabic letters.For example, if a user enters the letter "ا" , the search bar…
Elias Rahme
  • 2,226
  • 3
  • 28
  • 53
11
votes
2 answers

Android Thermal printer Arabic Issue

public class Globals { // TODO IMPORTANT CONFIG CHANGES // ** IMPORTANT CONFIGURATION private static String serverRealUrl = "http://www.myserver.com/api"; //Real Server configuration private static String serverLocalUrl =…
Mayuri Ruparel
  • 694
  • 2
  • 11
  • 36
11
votes
5 answers

How do I convert an Arabic String date to a java 8 date object?

I'm working on a web monitoring project in Arabic and I want to convert string date like this one: الاثنين 24 أبريل 2017 - 15:00 to Java 8 date object. How can I do that?
Meryem Moumen
  • 119
  • 1
  • 5
11
votes
0 answers

ligatures are not working with Arabic text on firefox

Firefox and Safari are not rendering text using fonts with Arabic ligatures Here is one sample glyph form svg font: Tried replacing arabic ligatures with english text…
Naveed
  • 11,057
  • 2
  • 44
  • 63
11
votes
3 answers

Disable digit substitution

How can I disable the digit substitution (for example for Hindi numerals instead of Arabic ones) for my application (native c++) completely? I want all the numbers displayed with 0123 instead of ٠١٢٣ There is an option in localization options in…
kcode
  • 1,220
  • 1
  • 18
  • 34
11
votes
2 answers

Setting Arabic numbering system locale doesn't show Arabic numbers

I read this article: JDK 8 and JRE 8 Supported Locales, it stated that: Numbering systems can be specified by a language tag with a numbering system ID ╔═════════════════════╦══════════════════════╦══════════════════╗ ║ Numbering System ID…
Eng.Fouad
  • 115,165
  • 71
  • 313
  • 417
11
votes
3 answers

Why is Java BufferedReader() not reading Arabic and Chinese characters correctly?

I'm trying to read a file which contain English & Arabic characters on each line and another file which contains English & Chinese characters on each line. However the characters of the Arabic and Chinese fail to show correctly - they just appear as…
M. A. Kishawy
  • 5,001
  • 11
  • 47
  • 72
11
votes
1 answer

Sorting Arabic words in Java

I have a list of words in Arabic that I'd like to sort. I have tried the standard Collator with different Locales (like English or French but without much hope) and I have even created my own RuleBasedCollator but to no avail. Apparently the default…
Gonan
  • 588
  • 7
  • 18
11
votes
2 answers

Right-to-Left Email

I'm trying to generate email from my code that will read correctly for people using right-to-left-reading languages such as Arabic. My question is: what are my options for acheiving this? I am aware that I can create a multipart email and encode the…
frimkron
  • 113
  • 1
  • 1
  • 5
10
votes
2 answers

HTML Ordered lists (ol) with Arabic numbers

How can I get arabic numbers (not numerals) in my ordered lists? So instead of 1, 2, 3... I need ...١ ٢ ٣
Straseus
  • 478
  • 1
  • 4
  • 14
10
votes
1 answer

MediaWiki MySQL Database Character set, which one to use?

I'm installing MediaWiki and am confused which charset to use. I installed MediaWiki before but never took care of this: I used the default choice (which is Binary), and it didn't cause any problem, but now it's different and I can make no…
Tamer Shlash
  • 9,314
  • 5
  • 44
  • 82
10
votes
5 answers

I want a Java Arabic stemmer

I'm looking for a Java stemmer for Arabic. I found a lib called "AraMorph" , but its output is uncontrollable and it makes formation to words which is unwanted. Is there any other stemmer for Arabic ?
Kareem Hashem
  • 121
  • 1
  • 3
10
votes
2 answers

How to correctly show Arabic letters in Android?

My application shows letters and words on arabic language. But these letters looks wrong. For example symbols بَ and شَ : Correct (from iOS): Wrong (from Android): As you can see, the little line on the top of letters must be centered. But it's…
BArtWell
  • 4,176
  • 10
  • 63
  • 106