Page MenuHomePhabricator

number translation for MessagesArz.php
Closed, ResolvedPublic

Description

Author: gaghaly

Description:
would you please change this file to sho Arabic digits not Hindi so the fike would be as follows.

'0' => '0', # ٠
'1' => '1', # ١
'2' => '2', # ٢
'3' => '3', # ٣
'4' => '4', # ٤
'5' => '5', # ٥
'6' => '6', # ٦
'7' => '7', # ٧
'8' => '8', # ٨
'9' => '9', # ٩
'.' => '.', # ٫ 
',' => ',', # ٬

);


Version: unspecified
Severity: enhancement

Details

Reference
bz16469

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:29 PM
bzimport set Reference to bz16469.
bzimport added a subscriber: Unknown Object (MLST).

So what you are saying is that 'arz' should use Western Arabic numerals and not Eastern Arabic numerals (they are also called Hindu numerals)[1]?

'ar' has the following defined, which is the fall back for 'arz':
$digitTransformTable = array(
'0' => '٠', # ٠
'1' => '١', # ١
'2' => '٢', # ٢
'3' => '٣', # ٣
'4' => '٤', # ٤
'5' => '٥', # ٥
'6' => '٦', # ٦
'7' => '٧', # ٧
'8' => '٨', # ٨
'9' => '٩', # ٩
'.' => '٫', # ٫ wrong table ?
',' => '٬', # ٬
);

Can you provide a source that in 'arz' the former is the standard? Wikipedia mentions that 0-9 is used "from Morocco to Libya", not including Egypt.

[1] http://en.wikipedia.org/wiki/Arabic_numerals

gaghaly wrote:

Yeas , please 'arz' should use Western Arabic numerals and not Eastern Arabic numerals (they are also called Hindu numerals)

i.e. arz to use the numbers 1-2-3-4-5-6-7-8-9-0
Many thanks

Please answer my question: Can you provide a source that in 'arz' the former is the standard? Wikipedia[1] mentions that 0-9 is used "from Morocco to Libya", not including Egypt.

[1] http://en.wikipedia.org/wiki/Arabic_numerals

hossam_kandil wrote:

The source is using the past tense (used) in order to describe a historical process and how the Arabic numbers had arrived into Europe. The source is not talking about Present day situation where both Eastern and Western numerals are being used in many countries from Dubai in the east to morocco in the west. Please see this Dubai number plate issued by Department of DUBAI Police (United Arab Emirates) http://motors.souq.com/browse/1248/EN/uae/number_plates/1/starts/desc/?ubl=en
Here is another example, ( Akhbar Al adab, one of Egypt’s biggest new papers and numbers used are exclusively Western Arabic both in the web site as well as in the printed papers http://www.akhbarelyom.org.eg/adab/issues/592/0100.html

Thank you for taking the time to answer. I made the change in r44929.

emoce wrote:

Take a look at Arabic-wikipedia [http://ar.wikipedia.org/wiki/2008]. They are using the Western numerals.
In printed documents, we never ever use the Indic numerals. All our keyboards only write the Western numerals (0123456789).

Why should we be forced to use the Indic numbers, then?

I have to mention that the Indic numbers have problems, because its zero looks like a dot & the comma is used instead of the dot. So, it is very confusing to write numbers that are grouped, such as this: 123,456,789

Does this have anything to do with this call, or do you wish to open a new request to change the numerals for the locale 'ar'? If the latter, please do not add more information here.

emoce wrote:

Sorry, I was just supporting the changing for the Indic numerals to Western numerals.

bassiouny.ahmed wrote:

Yeas , please 'arz' should use Western Arabic numerals and not Eastern Arabic
numerals (they are also called Hindu numerals)

i.e. arz to use the numbers 1-2-3-4-5-6-7-8-9-0
Many thanks

bassiouny.ahmed wrote:

Yeas , please 'arz' should use Western Arabic numerals and not Eastern Arabic
numerals (they are also called Hindu numerals)

i.e. arz to use the numbers 1-2-3-4-5-6-7-8-9-0
Many thanks