Last modified: 2012-04-16 09:16:00 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 T37579, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35579 - Farsi translations are incorrect in the jQuery datepicker
Farsi translations are incorrect in the jQuery datepicker
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n, upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-29 09:44 UTC by reza1615
Modified: 2012-04-16 09:16 UTC (History)
6 users (show)

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


Attachments

Description reza1615 2012-03-29 09:44:25 UTC
would you please edit Calendar form labels from Arabic charters to Farsi
characters?
1-ي==>ی
2-قبلي==>قبلی
3-بعدي==>بعدی
Comment 1 Amir E. Aharoni 2012-03-29 09:48:55 UTC
Changed the title, because it affects not only UploadWizard.
Comment 2 Amir E. Aharoni 2012-03-29 09:51:54 UTC
These strings appear in resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js .

Krinkle, is this localization specific to MediaWiki or can this be fixed upstream in jQuery?
Comment 3 Amir E. Aharoni 2012-03-29 10:32:20 UTC
Proposed upstream patch:
https://github.com/amire80/jquery-ui/commit/ddbb57e058003304d0d47a56d592b1dc04616cfc
Comment 4 reza1615 2012-03-29 10:58:12 UTC
(In reply to comment #3)
> Proposed upstream patch:
> https://github.com/amire80/jquery-ui/commit/ddbb57e058003304d0d47a56d592b1dc04616cfc
thanks amir
in line 12 please change ق-> ش
in line 29 please change دي->دی
Comment 5 Amir E. Aharoni 2012-03-29 11:11:35 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Proposed upstream patch:
> > https://github.com/amire80/jquery-ui/commit/ddbb57e058003304d0d47a56d592b1dc04616cfc
> thanks amir
> in line 12 please change ق-> ش
> in line 29 please change دي->دی

Updated. I understand that 'ش' is 'shenbe', but what could 'ق' stand for?

Also, i'm not sure that the Persians month names will actually be used, because it seems that they are not completely implemented.
Comment 6 Krinkle 2012-03-29 11:21:38 UTC
(In reply to comment #2)
> These strings appear in resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js .
> 
> Krinkle, is this localization specific to MediaWiki or can this be fixed
> upstream in jQuery?

jQuery UI is completely upstream
Comment 7 reza1615 2012-03-29 11:38:28 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Proposed upstream patch:
> > > https://github.com/amire80/jquery-ui/commit/ddbb57e058003304d0d47a56d592b1dc04616cfc
> > thanks amir
> > in line 12 please change ق-> ش
> > in line 29 please change دي->دی
> 
> Updated. I understand that 'ش' is 'shenbe', but what could 'ق' stand for?
> 
> Also, i'm not sure that the Persians month names will actually be used, because
> it seems that they are not completely implemented.

my mother language is Persian and I don't know why they used ق ! and it incorrect please replace it with ش
Comment 8 reza1615 2012-03-29 11:42:24 UTC
for Persian month because of Gregorian year 
please replace them with Gregorian months
1-ژانویه
2-فوریه
3-مارس
4-آوریل
5-می
6-ٓژوئن
7-ژوئیه
8-اوت
9-دسامبر
10-اکتبر
11-نوامبر
12-دسامبر
Comment 9 Amir E. Aharoni 2012-03-29 12:09:40 UTC
I changed ق to ش in Github. It still has to be reviewed and merged.

I may change the month names later. They do not seem to be used in MediaWiki anyway.
Comment 10 Amir E. Aharoni 2012-03-29 14:00:52 UTC
Fix applied upstream: https://github.com/jquery/jquery-ui/commit/a51451dc1b19bf6c2e10b1648b57d006bf38c303

(For the record, also discussed here: https://github.com/jquery/jquery-ui/pull/620 .)

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


Navigation
Links