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:Fallbacklist: Difference between revisions

From Neodyland Wiki
cluster per destination language and add comments
adding Italian cluster
Line 37: Line 37:
  ['hif-deva']  = {'hif'},  
  ['hif-deva']  = {'hif'},  
  ['hif-latn']  = {'hif'},  
  ['hif-latn']  = {'hif'},  
-- it (Italian) cluster
['egl']        = {'it'}, -- Emiliàn
['eml']        = {'it'}, -- Emiliano-Romagnolo
['fur']        = {'it'}, -- Friulian
['lij']        = {'it'}, -- Ligure
['lmo']        = {'it'}, -- lumbaart
['nap']        = {'it'}, -- Neapolitan
['pms']        = {'it'}, -- Piedmontese
['rgn']        = {'it'}, -- Romagnol
['scn']        = {'it'}, -- Sicilian
['vec']        = {'it'}, -- vèneto
   
   
  -- kk (Kazakh) cluster:
  -- kk (Kazakh) cluster:
Line 101: Line 113:
  --    be-x-old -> be-tarask (wrong to correct Taraškievica form of Belarusian orthography)
  --    be-x-old -> be-tarask (wrong to correct Taraškievica form of Belarusian orthography)
  --    pt-br (Brazilian Portuguese) -> pt (Portuguese)
  --    pt-br (Brazilian Portuguese) -> pt (Portuguese)
--    vec (Venetian) -> it (Italian)
  ['arz']        = {'ar'},  
  ['arz']        = {'ar'},  
  ['be-x-old']  = {'be-tarask'},  
  ['be-x-old']  = {'be-tarask'},  
  ['en-gb']      = {'en'},  
  ['en-gb']      = {'en'},  
  ['pt-br']      = {'pt'},
  ['pt-br']      = {'pt'}
['vec']        = {'it'}
}
}

Revision as of 09:10, 25 November 2013

Module documentation[ view · edit · history · purge ]
This documentation is transcluded from Module:Fallbacklist/doc.

Common language fallback rules accessible to other Lua modules.

Show diagram-representation
return {

 -- crh (Crimean Tatar) cluster: crh-cyrl , crh-latn -> crh (Crimean Tatar)
 ['crh-cyrl']   = {'crh'}, 
 ['crh-latn']   = {'crh'},
 
 -- de (German) cluster:
 -- als (Alemannic), bar (Bavarian) , de-formal , de-at , de-ch , frr (North Frisian) , ksh (Ripuarian) -> de
 -- nds (Low German) -> nds-nl (Dutch Low Saxon)
 -- nds-nl(Dutch Low Saxon) , pdt (Plautdietsch) -> nds (Low German)
 ['als']        = {'de'}, 
 ['bar']        = {'de'}, 
 ['de-ch']      = {'de'}, 
 ['de-formal']  = {'de'},
 ['frr']        = {'de'}, 
 ['ksh']        = {'de'}, 
 ['nds']        = {'nds-nl', 'de'}, 
 ['nds-nl']     = {'nds', 'nl'}, 
 ['pdt']        = {'nds', 'de'}, 

 -- fa (Persian) cluster: ckb (Sorani) , mzn (Mazandarani), glk (Gilaki) -> fa (Persian)
 ['ckb']        = {'fa'}, 
 ['glk']        = {'fa'}, 
 ['mzn']        = {'fa'}, 
 
 -- fr (French) cluster:
 -- mg (Malagasy) , br (Breton), co (Corsican) , frp (Franco-Provençal/Arpitan) , ht (Haitian) , ty (Tahitian), wa -> fr (French)
 ['br']         = {'fr'}, 
 ['co']         = {'fr'}, 
 ['frp']        = {'fr'},
 ['ht']         = {'fr'}, 
 ['mg']         = {'fr'}, 
 ['ty']         = {'fr'}, 
 ['wa']         = {'fr'}, 
   
 -- hif (Fiji Hindi) cluster: hif-deva , hif-latn -> hif (Fiji Hindi)
 ['hif-deva']   = {'hif'}, 
 ['hif-latn']   = {'hif'}, 
 
 -- it (Italian) cluster
 ['egl']        = {'it'}, -- Emiliàn
 ['eml']        = {'it'}, -- Emiliano-Romagnolo
 ['fur']        = {'it'}, -- Friulian
 ['lij']        = {'it'}, -- Ligure
 ['lmo']        = {'it'}, -- lumbaart
 ['nap']        = {'it'}, -- Neapolitan
 ['pms']        = {'it'}, -- Piedmontese
 ['rgn']        = {'it'}, -- Romagnol
 ['scn']        = {'it'}, -- Sicilian
 ['vec']        = {'it'}, -- vèneto
 
 -- kk (Kazakh) cluster:
 -- kk-arab , kk-cyrl , kk-latn , kk-cn , kk-kz , kk-tr -> kk (Kazakh)
 ['kk-arab']    = {'kk'}, 
 ['kk-cn']      = {'kk'}, 
 ['kk-cyrl']    = {'kk'}, 
 ['kk-kz']      = {'kk'}, 
 ['kk-latn']    = {'kk'}, 
 ['kk-tr']      = {'kk'}, 
 
 -- ku (Kurdish) cluster: ku-latn , ku-arab -> ku (Kurdish)
 ['ku-arab']    = {'ku'}, 
 ['ku-latn']    = {'ku'}, 
 
 -- nl (Dutch) cluster:
 -- af (Afrikaans), fy (Western Frisian), li (Liechtenstein), vls (Vlaams), zea (Zeeuws), nl-informal -> nl (Dutch)
 ['af']         = {'nl'}, 
 ['fy']         = {'nl'}, 
 ['li']         = {'nl'}, 
 ['nl-informal']= {'nl'}, 
 ['vls']        = {'nl'}, 
 ['zea']        = {'nl'}, 
 
 --pl (Polish) cluster: szl (Silesian), csb (Kashubian) -> pl (Polish)
 ['szl']        = {'pl'}, 
 ['csb']        = {'pl'}, 
 
 -- ruq (Megleno Romanian) cluster: ruq-cyrl , ruq-grek , ruq-latn -> ruq (Megleno Romanian)
 ['ruq-grek']   = {'ruq'}, 
 ['rug-latn']   = {'ruq'}, 
 ['ruq-cyrl']   = {'ruq'}, 
 
 -- sr (Serbian) cluster: sr-ec , sr-el -> sr (Serbian)
 ['sr-ec']      = {'sr'}, 
 ['sr-el']      = {'sr'}, 
  
 -- tg (Tajik) cluster: tg-cyrl , tg-latn -> tg (Tajik)
 ['tg-cyrl']    = {'tg'}, 
 ['tg-latn']    = {'tg'}, 
 
 -- tt (Tatar) cluster: tt-cyrl , tt-latn -> tt (Tatar)
 ['tt-cyrl']    = {'tt'}, 
 ['tt-latn']    = {'tt'}, 

 -- zh (Chinese) cluster:
 -- zh-cn , zh-hans , zh-hant , zh-hk , zh-mo , zh-my , zh-sg , zh-tw -> zh (Chinese)
 ['zh-hans']    = {'zh-cn', 'zh'}, 
 ['zh-hant']    = {'zh'}, 
 ['zh']         = {'zh-hans'}, 
 ['zh-cn']      = {'zh-hans'}, 
 ['zh-hk']      = {'zh-hant'}, 
 ['zh-mo']      = {'zh-hant'}, 
 ['zh-my']      = {'zh-hans'}, 
 ['zh-sg']      = {'zh-hans'}, 
 ['zh-tw']      = {'zh-hant'},
 
 -- ike (Eastern Canadian Inuktitut) cluster: ike-cans , ike-latn -> ike (Eastern Canadian Inuktitut)
 ['ike-cans']   = {'ik'}, 
 ['ike-latn']   = {'ik'}, 
 
 -- other
 --    arz (Egyptian Arabic) -> ar (Arabic)
 --    be-x-old -> be-tarask (wrong to correct Taraškievica form of Belarusian orthography)
 --    pt-br (Brazilian Portuguese) -> pt (Portuguese)
 ['arz']        = {'ar'}, 
 ['be-x-old']   = {'be-tarask'}, 
 ['en-gb']      = {'en'}, 
 ['pt-br']      = {'pt'}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.