Sha256: bebcde30bfa5cd41a5065bc086ac1f01285571a4e7a8a7bd02f89ce8a863f809

Contents?: true

Size: 1.56 KB

Versions: 7

Compression:

Stored size: 1.56 KB

Contents

module Mockdata
  class Languages

    # Contact erik.van.eykelen@bitgain.com if you think I forgot/misspelled a language name
    LANGUAGES = [ "Afrikaans", "Akan", "Albanian", "Amharic", "Arabic", "Armenian", "Assamese", "Azerbaijani", "Bambara", "Basque", "Belarusian", "Bengali", "Bosnian", "Breton", "Bulgarian", "Burmese", "Catalan", "Chinese", "Cornish", "Croatian", "Czech", "Danish", "Dutch", "Dzongkha", "English", "Esperanto", "Estonian", "Ewe", "Faroese", "Finnish", "French", "Fulah", "Galician", "Ganda", "Georgian", "German", "Greek", "Gujarati", "Hausa", "Hebrew", "Hindi", "Hungarian", "Icelandic", "Igbo", "Indonesian", "Irish", "Italian", "Japanese", "Kalaallisut", "Kannada", "Kashmiri", "Kazakh", "Khmer", "Kikuyu", "Kinyarwanda", "Korean", "Kyrgyz", "Lao", "Latvian", "Lingala", "Lithuanian", "Luba-Katanga", "Luxembourgish", "Macedonian", "Malagasy", "Malay", "Malayalam", "Maltese", "Manx", "Marathi", "Mongolian", "Nepali", "North Ndebele", "Northern Sami", "Norwegian", "Norwegian Bokmål", "Norwegian Nynorsk", "Oriya", "Oromo", "Ossetic", "Pashto", "Persian", "Polish", "Portuguese", "Punjabi", "Quechua", "Romanian", "Romansh", "Rundi", "Russian", "Sango", "Scottish Gaelic", "Serbian", "Serbo-Croatian", "Shona", "Sichuan Yi", "Sinhala", "Slovak", "Slovenian", "Somali", "Spanish", "Swahili", "Swedish", "Tagalog", "Tamil", "Telugu", "Thai", "Tibetan", "Tigrinya", "Tongan", "Turkish", "Ukrainian", "Urdu", "Uyghur", "Uzbek", "Vietnamese", "Welsh", "Western Frisian", "Yiddish", "Yoruba", "Zulu" ].freeze

    def self.pick
      LANGUAGES.sample
    end

  end
end



Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mockdata-1.0.7 lib/mockdata/languages.rb
mockdata-1.0.6 lib/mockdata/languages.rb
mockdata-1.0.5 lib/mockdata/languages.rb
mockdata-1.0.4 lib/mockdata/languages.rb
mockdata-1.0.3 lib/mockdata/languages.rb
mockdata-1.0.2 lib/mockdata/languages.rb
mockdata-1.0.1 lib/mockdata/languages.rb