All Projects → scsmith → Language_list

scsmith / Language_list

A list of languages based upon ISO-639-1 and ISO-639-3 with functions to retrieve only common languages.

Programming Languages

ruby
36898 projects - #4 most used programming language
language
365 projects

Labels

Projects that are alternatives of or similar to Language list

Countries
Countries, Languages & Continents data (capital and currency, native name, calling codes).
Stars: ✭ 656 (+700%)
Mutual labels:  countries
Countries And Timezones
Minimalistic library to work with countries and timezones data
Stars: ✭ 58 (-29.27%)
Mutual labels:  countries
Country Coder
📍➡️ 🇩🇰 Convert longitude-latitude pairs to ISO 3166-1 codes quickly and locally
Stars: ✭ 72 (-12.2%)
Mutual labels:  countries
Geographer
PHP library that knows how countries and cities are called in any language
Stars: ✭ 714 (+770.73%)
Mutual labels:  countries
Country Fns
🌏 Useful country data for forms and stuff.
Stars: ✭ 35 (-57.32%)
Mutual labels:  countries
Countrycity
🌎 Geodata API - Get countries, and cities to plug in a select drop-down.
Stars: ✭ 62 (-24.39%)
Mutual labels:  countries
World countries
Constantly updated lists of world countries and their associated alpha-2, alpha-3 and numeric country codes as defined by the ISO 3166 standard, available in CSV, JSON , PHP and SQL formats, in multiple languages and with national flags included
Stars: ✭ 598 (+629.27%)
Mutual labels:  countries
Quizzity
A fast-paced geography quiz
Stars: ✭ 80 (-2.44%)
Mutual labels:  countries
Svg World Map
🗺 A JavaScript library to easily integrate one or more SVG world maps with all nations (countries) and second-level political subdivisions (countries, provinces, states).
Stars: ✭ 38 (-53.66%)
Mutual labels:  countries
Countries States Cities Database
🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, PLIST, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities
Stars: ✭ 1,130 (+1278.05%)
Mutual labels:  countries
Factbook.json
World Factbook Country Profiles in JSON - Free Open Public Domain Data - No API Key Required ;-)
Stars: ✭ 750 (+814.63%)
Mutual labels:  countries
Yasumi
The easy PHP Library for calculating holidays
Stars: ✭ 788 (+860.98%)
Mutual labels:  countries
World Cities
Multilingual list of countries, states & cities in XML format. 世界所有城市,国内所有省、市、区、县信息(2020.06)
Stars: ✭ 64 (-21.95%)
Mutual labels:  countries
Country Json
A simple data of the world by country each in JSON format.
Stars: ✭ 688 (+739.02%)
Mutual labels:  countries
Country List
Provides a View Controller with Country List along with Calling Code and Country Code.
Stars: ✭ 76 (-7.32%)
Mutual labels:  countries
Countries
World countries in JSON, CSV, XML and Yaml. Any help is welcome!
Stars: ✭ 5,379 (+6459.76%)
Mutual labels:  countries
Carmen
A repository of geographic regions for Ruby
Stars: ✭ 1,116 (+1260.98%)
Mutual labels:  countries
3166
This is the best source for iso3166 codes you can found. I am sure.
Stars: ✭ 81 (-1.22%)
Mutual labels:  countries
Laravel Country State
A helper to list countries & states in English in Laravel 5.1+
Stars: ✭ 77 (-6.1%)
Mutual labels:  countries
Redux React I18n
An i18n solution for React/Redux and React Native projects
Stars: ✭ 64 (-21.95%)
Mutual labels:  countries

Language List

A list of languages based upon ISO-639-1 and ISO-639-3 with functions to retrieve only common languages.

Build Status

Examples

# Get an array of LanguageList::LanguageInfo classes
all_languages = LanguageList::ALL_LANGUAGES
common_languages = LanguageList::COMMON_LANGUAGES

# Finding a language based on its ISO-639-1 or ISO-639-3 code or
# name
german  = LanguageList::LanguageInfo.find('German')
english = LanguageList::LanguageInfo.find('en')
english.name.inspect #=> "English"
english.iso_639_1.inspect #=> "en"
english.iso_639_3.inspect #=> "eng"
english.common? #=> true

Testing

rake

Upgrading

1.1 to 1.2

  • Version 1.2 freezes all of the constants once they're loaded.

Thanks

Thanks goes to Steve Hardie for his work on creating a list of common languages (http://stevehardie.com/2009/10/list-of-common-languages/).

License

I don't actually know the license for this project. The project contains countries from the ISO language list although they were not obtained from the ISO website. The country list has been adapted and placed in data/languages.yml, so that it can be replaced if required.

All of the code (everything except data/languages.yml) in this project is released under an MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].