Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Multilingual description/sort

From Neodyland Wiki
Revision as of 12:36, 15 April 2015 by commons>Verdy p (sorted Indic abugidas now complete)
Module documentation[ create · purge ]
--[[
  The documented sort order is by script, then alphabetically by displayed native name (as generated by {{#language: code}}), using the default DUCET order.
  This allows easier selection by users reading the lists of languages in order to find their own.
  Please test this order, and maintain it as complete as possible, including legacy codes still used in MediaWiki.
  Any missing language will be sorted after all languages listed below, just using its internal language code.

  Note: this resource-only module cannot have a "runTest()" member without breaking the returned list itself
  (except by inserting it in its metatable, something still not implemented in the generic module testsuite).
  For now, tests will be in the separate /testcases subpage.
]]
local p = {
-- LTR scripts
  -- Latin alphabets
    --[[A]] 'ang', 'af', 'als', 'an', 'ast', 'az',
    --[[B]] 'id', 'ms', 'nan', 'zh-min-nan', 'su', 'jv', 'bar', 'bs', 'br',
    --[[C]] 'ca', 'ceb', 'cs', 'co', 'cy',
    --[[D]] 'da', 'pdc', 'de', 'de-formal', 'nv', 'dsb',
    --[[E]] 'et', 'en', 'simple', 'es', 'eo', 'ext', 'eu',
    --[[F]] 'fo', 'fr', 'fy',
    --[[G]] 'ga', 'gd', 'gl',
    --[[H]] 'haw', 'hsb', 'hr',
    --[[I]] 'io', 'ia', 'ie', 'ik', 'zu', 'is', 'it',
    --[[K]] 'kr', 'pam', 'csb', 'rn', 'kw', 'sw', 'ht', 'ku', 'ku-latn',
    --[[L]] 'la', 'lv', 'lb', 'lt', 'li', 'lg',
    --[[M]] 'hu', 'mg', 'mt',
    --[[N]] 'nah', 'nap', 'nl', 'nds-nl', 'cr', 'no', 'nn',
    --[[O]] 'oc',
    --[[P]] 'pms', 'nds', 'pl', 'pt', 'pt-br',
    --[[Q]] 'crh',
    --[[R]] 'ty', 'ksh', 'ro', 'qu',
    --[[S]] 'sc', 'se', 'sdc', 'sco', 'stq', 'sq', 'sk', 'sl', 'szl', 'fi', 'sv',
    --[[T]] 'tl', 'vi', 'tk', 'tr',
    --[[V]] 'vec', 'vo',
    --[[W]] 'wa', 'vls', 'war',
    --[[Y]] 'yo',
    --[[Z]] 'diq',
  -- Latin OR Cyrillic alphabets
    'sh', -- most often Latin
    'sr', -- most often Cyrillic
  -- Cyrillic alphabets
    --[[Б]] 'ba', 'be', 'be-tarask', 'bg',
    --[[И]] 'os',
    --[[К]] 'kk', 'ky',
    --[[Л]] 'lbe',
    --[[М]] 'mk', 'mo', 'mn',
    --[[Р]] 'ru',
    --[[C]] 'cu',
    --[[Т]] 'tt', 'tg',
    --[[У]] 'uk',
    --[[Х]] 'xal',
    --[[Ч]] 'cv',
  -- Greek or Coptic alphabets
    'el', 'pnt',
  -- Other European alphabets
    'hy', 'ka',
  -- Devanagari abugidas
    'new', 'ne', 'mr', 'sa', 'hi',
  -- Other North Indian abugidas
    'bn', 'bpy',
  -- Tibetan abugidas
    'bo', 'dz',
  -- South Indian abugidas
    'gu', 'or', 'ta', 'te', 'ml', 'si',
  -- Other South-East Asian abugidas
    'km', 'lo', 'th',
  -- Syllabaries
    'chr', 'am', 'ti', 
  -- Korean scripts (alphabet and sinograms) and Japanese scripts (syllabaries and sinograms)
    'ko', 'ja',
  -- Sinographic scripts
    'wuu', 'yue',
    'zh', 'zh-hans', 'zh-cn',  'zh-sg',
    'zh-hant', 'zh-tw',  'zh-mo',
    'lzh', 'zh-classical',
-- RTL scripts
  -- Hebrew abjad
    'he', 'yi',
   -- Arabic abjads
    --[[ا]] 'ur', 'ik',
    --[[پ]] 'ps',
    --[[س]] 'sd',
    --[[ف]] 'fa',
    --[[ك]] 'ku-arab',
    --[[ک]] 'ks-arab', 'ckb', 'glk',
    --[[م]] 'mzn', 'zu',
    --[[ئ]] 'ug',
   -- Other semitics abjads
    'dv',
}

return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.