Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

langcode

switch %s | afrikaans => af, albanian => sq, arabic => ar, aragonese => an, aromanian => roa-rup, asturian => ast, azeri => az, basque => eu, belarusian => be, bengali => bn, bishnupriya manipuri => bpy, bosnian => bs, breton => br, bulgarian => bg, cantonese => zh-yue, catalan => ca, cebuano => ceb, chinese => zh, chuvash => cv, croatian => hr, czech => cs, danish => da, dutch => nl, english => en, esperanto => eo, estonian => et, finnish => fi, french => fr, galician => gl, georgian => ka, german => de, greek => el, gujarati => gu, haitian => ht, hebrew => he, hindi => hi, hungarian => hu, icelandic => is, ido => io, indonesian => id, irish => ga, italian => it, japanese => ja, javanese => jv, korean => ko, kurdish => ku, latin => la, latvian => lv, lithuanian => lt, lombard => lmo, low saxon => nds, luxembourgish => lb, macedonian => mk, malay => ms, malayalam => ml, marathi => mr, neapolitan => nap, newar => new, norwegian => no, occitan => oc, persian => fa, piedmontese => pms, polish => pl, portuguese => pt, quecha => qu, ripuarian => ksh, romanian => ro, russian => ru, samogitian => bat-smg, serbian => sr, serbo-croatian => sh, sicilian => scn, simple english => simple, slovak => sk, slovenian => sl, spanish => es, sundanese => su, swahili => sw, swedish => sv, tagalog => tl, tamil => ta, telugu => te, thai => th, turkish => tr, ukrainian => uk, urdu => ur, vietnamese => vi, volapük => vo, walloon => wa, waray-waray => war, welsh => cy, west frisian => fy, * => en
NAME

    langcode - displays the language code 

SYNOPSIS
    
    I thought that making a langcode command was really important. 
    This command can then be combined with wikipedia, wiktionnary, google, etc.. 
    I will create commands for those... I'm also planning on creating a country code command.
    That one would be useful for google too.
     
    I arbitrarily decided to use English language names. I found it easier this way (no typographical issues) 

    Since this command was first made for a wikipedia command I only took the languages for which there is a 
    Wikipedia in that language with more than 10.000 articles. That would be about 94 languages. 
    But actually there fewer about 90 languages because of some particular issues. Contact me for further information. 
    This is the link http://meta.wikimedia.org/wiki/List_of_Wikipedias
    
EXAMPLE
    
    langcode swedish (returns sv)
    
    langcode french  (returns fr) 
    
AUTHOR
    Luis Gabriel Matallana Vallejo <luisgmatallana@gmail.com> 


    
657 uses - Created 2010-05-17 23:27:48 - Last used 2024-01-10 03:33:24
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.