Jump to content

Manual:$wgTranslateNumerals

From mediawiki.org
Language-specific: $wgTranslateNumerals
For Hindi, Arabic, and other languages with their own numeral systems, use local numerals instead of Western style (0-9) numerals in some areas of the interface.
Introduced in version:1.3.0
Removed in version:Still in use
Allowed values:(boolean)
Default value:true

Details

[edit]

For Hindi, Arabic, and other languages with their own numeral systems, use local numerals instead of Western style (0-9) numerals in some areas of the interface.

See a list of languages using it, with this search: https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/messages/?grep=digitTransformTable

Examples (1-3):

  • Khmer (km): ១,២,៣,…
  • Gujarati (gu): ૧,૨,૩,…
  • Literary Chinese (zh-classical): 一,二,三,…
  • Arabic (ar): ‎…,٣,٢,١