Last modified: 2012-10-04 09:53:04 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 T7679, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5679 - Timestamps not rendering in Bangla numerals in bn-wiki
Timestamps not rendering in Bangla numerals in bn-wiki
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://bn.wikipedia.org/wiki/special:...
:
Depends on:
Blocks: 40760
  Show dependency treegraph
 
Reported: 2006-04-22 04:17 UTC by Ragib Hasan
Modified: 2012-10-04 09:53 UTC (History)
1 user (show)

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


Attachments

Description Ragib Hasan 2006-04-22 04:17:01 UTC
Hi,
I am an admin in the Bengali language wiki (http://bn.wikipedia.org ).  Most of
it has been localized to render in Bengali language, but the timestamps still
are showing up in English.

For example, here is a timestamp from  this diff
http://bn.wikipedia.org/w/index.php?title=%E0%A6%95%E0%A6%95%E0%A7%8D%E0%A6%B8%E0%A6%AC%E0%A6%BE%E0%A6%9C%E0%A6%BE%E0%A6%B0_%E0%A6%9C%E0%A7%87%E0%A6%B2%E0%A6%BE&curid=2684&diff=13365&oldid=13364



The time stamp shows up as follows:

20:31, ২১ এপ্রিল ২০০৬ তারিখের সংশোধন


Note that, the date shows up in Bengali numerals, but the time 20:31, shows up
in English numerals. It should have rendered like this:

২০:৩১, ২১ এপ্রিল ২০০৬ তারিখের সংশোধন

i.e. the time 20:31 should have been rendered in Bangla numerals as ২০:৩১

Thanks

Ragib
Comment 1 lɛʁi לערי ריינהארט 2006-04-23 13:46:46 UTC
Hallo!

Please note that this behaviour can be seen also at
[[fa:special:Recentchanges]], [[hi:special:Recentchanges]] (etc.).

[[bm:special:Preferences]] does not provide a "#prefsection-4" to select
different "Date formats".
[[fa:special:Preferences]], [[hi:special:Preferences]] provide more options for
"Date format" but none showing the *time* with localized numerals.

best regards reinhardt [[user:gangleri]]

references
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/LanguageBn.php?view=markup
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/LanguageFa.php?view=markup
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/LanguageHi.php?view=markup
(etc.)
Comment 2 Antoine "hashar" Musso (WMF) 2006-04-28 20:37:04 UTC
Patched bn: hi: fa: languages files so they do the translation
when calling dateandtime().

See trunk@13908 , not in REL1_6 as I am not sure its really the
way to do it. Will be in 1.7.0 unless someone backport it.
Comment 3 lɛʁi לערי ריינהארט 2006-04-29 22:06:42 UTC
The following languages are also using "local" numerals:

Gujarati (gu:)
Punjabi (pa:)
Comment 4 lɛʁi לערי ריינהארט 2006-04-29 22:13:34 UTC
Also

Kannada (kn:)
Comment 5 lɛʁi לערי ריינהארט 2006-04-30 01:22:11 UTC
Also

Assamese (as:)
Comment 6 Niklas Laxström 2006-05-03 16:34:13 UTC
Patched Language::time() to use transformed numbers if possible.
Comment 7 lɛʁi לערי ריינהארט 2006-05-04 19:45:12 UTC
*note*

Malayalam (ml:) [[ml:template:wikivar]]  [[ml:special:Recentchanges]]
Telugu (te:)  [[te:template:wikivar]]  [[te:special:Recentchanges]]

do not show localized numbers *but*

http://nike.users.idler.fi/betawiki/special:Recentchanges?uselang=ml
http://nike.users.idler.fi/betawiki/special:Recentchanges?uselang=te

do. Please reopen this report or a new report if this does not change within one
week.

best regards reinhardt [[user:gangleri]]
Comment 8 lɛʁi לערי ריינהארט 2006-05-04 20:43:52 UTC
*note*

Beside the languages mentioned above other languages are using numerals which
are *homoglyphes* to the numerals in the basic Latin Unicode block
such languages are:
Tibetan (bo:) [[bo:ser:Gangleri/bugzilla/05679]]
Oriya (or:) [[or:ser:Gangleri/bugzilla/05679]]

see complete list of languages using function digitTransformTable() at
http://nike.users.idler.fi/betawiki/user:Gangleri/Unicode/character_test


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


Navigation
Links