Module:Multilingual description/sort: Difference between revisions
From Neodyland Wiki
More actions
sort Oriya properly |
m there are missing languages and a few still not sorted correctly (still testing this list, will create a test module for that) |
||
| Line 1: | Line 1: | ||
return { 'af', 'an', 'ang', 'als', 'ast', 'az', 'bar', 'br', ' | --[[ | ||
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. | |||
]] | |||
return { | |||
-- LTR scripts | |||
-- Latin script | |||
--[[A]] 'af', 'an', 'ang', 'als', 'ast', 'az', | |||
--[[B]] 'id', 'bar', 'bs', 'br', 'jv', | |||
--[[C]] 'ca', 'ceb', 'chr', 'cr', 'crh', 'cs', 'csb', 'cy', | |||
--[[D]] 'da', 'pdc', 'de', 'de-formal', 'nv', 'dsb', | |||
--[[E]] 'en', 'simple', 'et', 'es', 'eo', 'eu', 'ext', | |||
--[[F]] 'fo', 'fr', 'fy', | |||
--[[G]] 'ga', 'gl', | |||
--[[H]] 'haw', 'hr', 'hsb', 'hu', | |||
--[[I]] 'ia', 'ie', 'ik', 'io', 'is', 'it', | |||
--[[K]] 'kr', 'ksh', 'ku-latn', 'kw', 'ht', | |||
--[[L]] 'la', 'lb', 'lg', 'li', 'lv', 'lt', | |||
--[[M]] 'mg', 'ms', 'mt', | |||
--[[N]] 'nah', 'nan', 'nap', 'nl', 'no', 'nn', | |||
--[[O]] 'oc', | |||
--[[P]] 'pam', 'nds', 'nds-nl', 'pl', 'pms', 'pt', 'pt-br', | |||
--[[Q]] 'qu', | |||
--[[R]] 'rn', 'ro', | |||
--[[S]] 'sc', 'sco', 'se', 'sk', 'sl', 'sq', 'stq', 'su', 'fi', 'sv', 'sw', 'szl', | |||
--[[T]] 'tl', 'tr', | |||
--[[V]] 'vec', 'vi', 'vo', | |||
--[[W]] 'wa', 'war', | |||
--[[Y]] 'yo', | |||
--[[Z]] 'diq', 'zu', | |||
-- Latin OR Cyrillic script | |||
'sr', 'sh', | |||
-- Cyrillic script | |||
'ba', 'be', 'be-tarask', 'bg', 'cu', 'cv', 'kk', 'ky', 'lbe', 'mk', 'mo', 'os', 'ru', 'tg', 'tt', 'uk', 'xal', | |||
-- Greek or Coptic script | |||
'el', | |||
-- Other European alphabets | |||
'hy', 'ka', | |||
-- Indic scripts | |||
'bn', 'bpy', 'gu', 'hi', 'kn', 'ml', 'mr', 'ne', 'or', 'ta', 'te', 'bo', 'dz', 'km', 'lo', 'si', 'th', | |||
-- Syllabaries and Hangul | |||
'am', 'ti', | |||
-- Korean alphabet 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 | |||
'ar', 'arz', 'ckb', 'fa', 'glk', 'ks', 'ku', 'mzn', 'ps', 'sd', 'ug', 'ur' | |||
} | |||
Revision as of 10:46, 15 April 2015
This documentation is transcluded from Module:Multilingual description/sort/doc.
--[[
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.
]]
return {
-- LTR scripts
-- Latin script
--[[A]] 'af', 'an', 'ang', 'als', 'ast', 'az',
--[[B]] 'id', 'bar', 'bs', 'br', 'jv',
--[[C]] 'ca', 'ceb', 'chr', 'cr', 'crh', 'cs', 'csb', 'cy',
--[[D]] 'da', 'pdc', 'de', 'de-formal', 'nv', 'dsb',
--[[E]] 'en', 'simple', 'et', 'es', 'eo', 'eu', 'ext',
--[[F]] 'fo', 'fr', 'fy',
--[[G]] 'ga', 'gl',
--[[H]] 'haw', 'hr', 'hsb', 'hu',
--[[I]] 'ia', 'ie', 'ik', 'io', 'is', 'it',
--[[K]] 'kr', 'ksh', 'ku-latn', 'kw', 'ht',
--[[L]] 'la', 'lb', 'lg', 'li', 'lv', 'lt',
--[[M]] 'mg', 'ms', 'mt',
--[[N]] 'nah', 'nan', 'nap', 'nl', 'no', 'nn',
--[[O]] 'oc',
--[[P]] 'pam', 'nds', 'nds-nl', 'pl', 'pms', 'pt', 'pt-br',
--[[Q]] 'qu',
--[[R]] 'rn', 'ro',
--[[S]] 'sc', 'sco', 'se', 'sk', 'sl', 'sq', 'stq', 'su', 'fi', 'sv', 'sw', 'szl',
--[[T]] 'tl', 'tr',
--[[V]] 'vec', 'vi', 'vo',
--[[W]] 'wa', 'war',
--[[Y]] 'yo',
--[[Z]] 'diq', 'zu',
-- Latin OR Cyrillic script
'sr', 'sh',
-- Cyrillic script
'ba', 'be', 'be-tarask', 'bg', 'cu', 'cv', 'kk', 'ky', 'lbe', 'mk', 'mo', 'os', 'ru', 'tg', 'tt', 'uk', 'xal',
-- Greek or Coptic script
'el',
-- Other European alphabets
'hy', 'ka',
-- Indic scripts
'bn', 'bpy', 'gu', 'hi', 'kn', 'ml', 'mr', 'ne', 'or', 'ta', 'te', 'bo', 'dz', 'km', 'lo', 'si', 'th',
-- Syllabaries and Hangul
'am', 'ti',
-- Korean alphabet 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
'ar', 'arz', 'ckb', 'fa', 'glk', 'ks', 'ku', 'mzn', 'ps', 'sd', 'ug', 'ur'
}