Last modified: 2007-05-01 14:10:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11712, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9712 - Use Arabic comma in date/time formats for Arabic and Farsiِ
Use Arabic comma in date/time formats for Arabic and Farsiِ
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-26 17:56 UTC by Huji
Modified: 2007-05-01 14:10 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Modified date format for Arabic (146.70 KB, image/png)
2007-04-28 06:06 UTC, Raimond Spekking
Details
Modified date format for Farsi (154.29 KB, image/png)
2007-04-28 06:16 UTC, Raimond Spekking
Details

Description Huji 2007-04-26 17:56:55 UTC
English and many other languages use "," for coma. Farsi and Arabic languages
use a different character "،" which is much like a reversed coma. Currently, the
English coma is used in the interface of these wikis for the messages shown by
the software, like the log enteries. The text on the both sides is translated,
but the coma is not. I think it would be a little nice idea to support the
translation of that character as well.
Comment 1 Raimond Spekking 2007-04-26 19:35:27 UTC
Can you give a few examples please, where the comma is used? At
[[ar:special:log]] I see it in the dates. This could be solved by adding
localized dateFormats at the message files.

Any other places?
Comment 2 Huji 2007-04-26 21:49:45 UTC
You got the point! It is in the dates where the coma should be fixed. 
Comment 3 Shinjiman 2007-04-27 05:35:22 UTC
You need to specify what date formats are wanted, see the $dateFormats in the 
Messages files series, and the function sprintfDate in the Language.php file 
how to custimise the date formats.
Comment 4 Huji 2007-04-27 07:41:25 UTC
The current date format as seen in English wikipedia:

- 07:38, 27 April 2007 Herostratus (Talk | contribs) deleted "YY 
Rayquaza" (content was: '{{db-nonsense}}mbhdsgdgshfgh')

And in Farsi wikipedia:

- ۱۹:۵۵, ۲۶ آوریل ۲۰۰۷ حجت (بحث | مشارکت‌ها | بسته شود) «حسن آیت» حذف شد (نامربوط)

(You may need to install Right-to-left Languages support on your operating 
system to be able to read the Farsi character in the above.)

The expected formatting for the date, which only differs in the coma character:

- ۱۹:۵۵، ۲۶ آوریل ۲۰۰۷ حجت (بحث | مشارکت‌ها | بسته شود) «حسن آیت» حذف شد (نامربوط)

So as you see, the date format does not change except for the coma character.
Comment 5 Raimond Spekking 2007-04-28 06:06:58 UTC
Created attachment 3539 [details]
Modified date format for Arabic

Modified date format for Arabic
Comment 6 Raimond Spekking 2007-04-28 06:16:30 UTC
Created attachment 3540 [details]
Modified date format for Farsi

Modified date format for Farsi.

Can you confirm please, that these formats are correct now?
Can you confirm too, that the modified comma is a common wide standard in
Arabic and Farsi languages?

One difference between my lokal MediaWiki installation and ar.wp I do not
understand:

ar.wp shows:
06:14, 28 أبريل 2007 كندلي (النقاش | مساهمات

my wiki shows:
٠٠:٠٥، ٢٧ أبريل ٢٠٠٧ Test (النقاش | مساهمات |
منع مستخدم) New user

The numbers are not transformed at ar.wp.
Comment 7 Huji 2007-04-28 18:32:59 UTC
Raimond,

I do confirm that the comma character for Arabic an Farsi languages is "،" this 
one. You may find it in the documentation of Unicode standards. For now, I 
bring another piece of evidence: In Microsoft Word, going to Insert > Symbol 
will show you a list of unicode characters with their names. In the picture 
below, I have selected that comma character, and you will see its name down 
there.

http://tinypic.com/view.php?pic=30vkuab

It would also be a nice idea, to replace the English semicolon ";" with the 
Arabic/Farsi one "؛" as well. However, I cannot remember where the semicolon 
character was used, now.

By the way, I just noticed that I typed comma as "coma" in all my above 
messages! "What a shame ..." :(
Comment 8 Raimond Spekking 2007-05-01 10:17:58 UTC
Fixed with r21748 for date/time formats.

Semicolon not used in date/time formats. If used in normal messages these
messages have to be updated by the language maintainers please.
Comment 9 Huji 2007-05-01 14:10:28 UTC
Raimond, could you please tell me how I should contact the language 
maintainers? (You may do it by email, if it has nothing to do with this bug.) 
Also, when should the fix you mentioned above, be applied to the Wikipedia 
projects?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links