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
0
votes
1 answer

Arabic custom actions with google assistant?

I want to create arabic custom actions with google assistant but when I try to change language settings from english to arabic in the developer action console I can't find Arabic, and the users will then be able to interact with your actions in the…
0
votes
0 answers

Extract text in two background from image video

I have multiple text in image with two background, i need to ignore background and extract text from my image. ex: because of background color ( black and white), it's very difficult to extract text.. i'm using this code: import cv2 import…
0
votes
1 answer

Funny behavior when trying to format a SQL query (in PHP) with arabic word

I am creating a Laravel table for the languages. In my up function of my Migration class for languages I want to insert all the different languages (ISO). I have one single row that is giving some headache; Arabic. I let you try to insert this…
0
votes
0 answers

Searching Arabic names discarding the differences between "ة" , "ه", etc

I am storing Arabic names in my database. In Arabic, there are some letters that may be written in different forms such as "ا"، "أ"، "آ" it all represent the same letter. Also, "ه" ، "ة". I need to search the database for names, ignoring the…
0
votes
0 answers

NLP model - Arabic diacritized_text [Errno 22] Invalid argument

i am trying to read diacritized_text from pdf file by using this code: import PyPDF2 import pdfplumber.utils import pdfminer.pdftypes import arabic_reshaper from pdfplumber.pdf import PDF from bidi.algorithm import get_display from PyPDF2 import…
LOTUS
  • 1
  • 2
0
votes
0 answers

Regex failing with arabic chars

Im trying to cover all Arabic chars with unicode Arabic character representatives /^[\u0621-\u064A\u0660-\u0669a-zA-Z0-9-_.():&,'’ ]+$/ But this is failing to select some characters from this word مشروع – 1137 انشاء انبوب ترانسكو الجديد 1300 ملم في…
Wimal Weerawansa
  • 309
  • 2
  • 15
  • 33
0
votes
2 answers

How to get beautiful soup to scrape pages in Arabic from a multilingual website where pages in different languages have the same URL

I am trying to scrape pages from this website Text The pages in Arabic and French have the same URL I tried the following code headers = {'Accept-Language': "lang=\"AR-DZ"} r =…
user3357814
  • 35
  • 1
  • 7
0
votes
0 answers

How to read .txt labeled dataset (arabic & english) file in python?

I'm trying to read an Arabic and English data set Dataset, i need to separate the sentences (Arabic) in one list and the labels (English) in another array. I'm trying to read the .txt file as csv file to append each column in a single array , i…
Eng.sh
  • 15
  • 6
0
votes
1 answer

Arabic string displaying on QLabel and QPushtbuon is different in Qt

There is one Arabic string as: اختبار عرض اللغة العربية في QTE. The displaying on QLabel and QPushButton is different with same interface setText(). See picture below: Anyone can help on why the displaying behavior is different?
0
votes
2 answers

How to show date format in both english and arabic?

Hi I want to achieve format of date like this "2021 نوفمبر" can anybody help me how I can achieve this format? Here is my sample source code SimpleDateFormat dateFormatter = new SimpleDateFormat("d MMM yyyy", locale); dateString =…
Ahsan Malik
  • 57
  • 1
  • 4
  • 10
0
votes
1 answer

What is the encoding scheme for this Arabic web page?

I am trying to find the encoding scheme for this page (and others) which are surely Arabic, using lower ASCII range Latin characters to encode the contents. http://www.saintcyrille.com/2011a.htm http://www.saintcyrille.com/2011b.htm (English…
fbas
  • 1,676
  • 3
  • 16
  • 26
0
votes
1 answer

Unable to print arabic characters on console coming in request in spring boot

I am trying to hit request from postman consisting of arabic characters: { "data": "{\"holder passport expiry date\":\"10/09/2021\",\"holder passport issue date\":\"11/09/2011\",\"holder sponsor name\":\"رائد ابو زيدsss\",\"holder occupation…
0
votes
0 answers

Unable to print arabic character coming from request

I tried this and run as Java application: `String data = "{\"eidaID\":\"حسنss\"}"; JSONObject obj = new JSONObject(data);` System.out.println(obj.get("eidaID").toString()); O/p => حسنss But, when it comes from the request in the spring boot…
0
votes
0 answers

Generate csv and pdf reports in Arabic Language with HttpServletResponse (java8 and eclipse)

I am trying to generate CSV and pdf reports containing caracters in Arabic language. After exporting the files, the arabic caracters are displaying like "­Ø­Ø­Ø­Ù‡Ù‡Ù‡Ù" instead of Arabic. Please any help to solve this problem. I’m using the code…
0
votes
0 answers

When fetching data from the API, the text is Arabic It looks like this inside a flutter

When fetching data from the API, the text is Arabic It looks like this inside a flutter I/flutter ( 5741): name name name نقص الÙيتامين D يسبب مرض: I/flutter ( 5741): name name name من هو الصحابي الجليل…
HALDUN
  • 3
  • 5
1 2 3
99
100