Module: WtfLang

Defined in:
lib/wtf_lang/api.rb,
lib/wtf_lang/version.rb,
lib/wtf_lang/language.rb,
lib/wtf_lang/languages.rb,
lib/wtf_lang/core_ext/extension.rb

Defined Under Namespace

Modules: Extension Classes: API, Language

Constant Summary collapse

VERSION =
"0.4.0"
LANGUAGES =
{
  'afrikaans' => 'af',
  'albanian' => 'sq',
  'amharic' => 'am',
  'arabic' => 'ar',
  'armenian' => 'hy',
  'azerbaijani' => 'az',
  'basque' => 'eu',
  'belarusian' => 'be',
  'bengali' => 'bn',
  'bihari' => 'bh',
  'breton' => 'br',
  'bulgarian' => 'bg',
  'burmese' => 'my',
  'catalan' => 'ca',
  'cherokee' => 'chr',
  'chinese' => 'zh',
  'corsican' => 'co',
  'croatian' => 'hr',
  'czech' => 'cs',
  'danish' => 'da',
  'dhivehi' => 'dv',
  'dutch'=> 'nl',
  'english' => 'en',
  'esperanto' => 'eo',
  'estonian' => 'et',
  'faroese' => 'fo',
  'filipino' => 'tl',
  'finnish' => 'fi',
  'french' => 'fr',
  'frisian' => 'fy',
  'galician' => 'gl',
  'georgian' => 'ka',
  'german' => 'de',
  'greek' => 'el',
  'gujarati' => 'gu',
  'haitian_creole' => 'ht',
  'hebrew' => 'iw',
  'hindi' => 'hi',
  'hungarian' => 'hu',
  'icelandic' => 'is',
  'indonesian' => 'id',
  'inuktitut' => 'iu',
  'irish' => 'ga',
  'italian' => 'it',
  'japanese' => 'ja',
  'javanese' => 'jw',
  'kannada' => 'kn',
  'kazakh' => 'kk',
  'khmer' => 'km',
  'korean' => 'ko',
  'kurdish'=> 'ku',
  'kyrgyz'=> 'ky',
  'lao' => 'lo',
  'latin' => 'la',
  'latvian' => 'lv',
  'lithuanian' => 'lt',
  'luxembourgish' => 'lb',
  'macedonian' => 'mk',
  'malay' => 'ms',
  'malayalam' => 'ml',
  'maltese' => 'mt',
  'maori' => 'mi',
  'marathi' => 'mr',
  'mongolian' => 'mn',
  'nepali' => 'ne',
  'norwegian' => 'no',
  'occitan' => 'oc',
  'pashto' => 'ps',
  'persian' => 'fa',
  'polish' => 'pl',
  'portuguese' => 'pt',
  'punjabi' => 'pa',
  'quechua' => 'qu',
  'romanian' => 'ro',
  'russian' => 'ru',
  'sanskrit' => 'sa',
  'scots_gaelic' => 'gd',
  'serbian' => 'sr',
  'sindhi' => 'sd',
  'sinhalese' => 'si',
  'slovak' => 'sk',
  'slovenian' => 'sl',
  'spanish' => 'es',
  'sundanese' => 'su',
  'swahili' => 'sw',
  'swedish' => 'sv',
  'syriac' => 'syr',
  'tajik' => 'tg',
  'tamil' => 'ta',
  'tatar' => 'tt',
  'telugu' => 'te',
  'thai' => 'th',
  'tibetan' => 'bo',
  'tonga' => 'to',
  'turkish' => 'tr',
  'ukrainian' => 'uk',
  'urdu' => 'ur',
  'uzbek' => 'uz',
  'uighur' => 'ug',
  'vietnamese' => 'vi',
  'welsh' => 'cy',
  'yiddish' => 'yi',
  'yoruba' => 'yo'
}