Locale/iso - GitHub

文章推薦指數: 80 %
投票人數:10人

Contribute to Locale/iso development by creating an account on GitHub. ... This project is a ruby implementation of ISO 639-1 alpha2 and ISO 3166-1. Skiptocontent {{message}} Locale / iso Public Notifications Fork 12 Star 46 MITLicense 46 stars 12 forks Star Notifications Code Issues 2 Pullrequests 4 Actions Projects 0 Wiki Security Insights More Code Issues Pullrequests Actions Projects Wiki Security Insights master Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 3 branches 13 tags Code Latestcommit   Gitstats 69 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime data     lib     locales     spec     .document     .gitignore     .rspec     .travis.yml     Gemfile     Gemfile.lock     Guardfile     LICENSE.txt     README.md     Rakefile     VERSION     iso.gemspec     Viewcode iso Languages Regions Tags I18n README.md iso ThisprojectisarubyimplementationofISO639-1alpha2andISO3166-1.Itincludesdefinitionsofalltwoletterlanguageandregioncodes. Languages LanguagesaredefinedbyISO639-1alpha-2;thatisthe2letterlowercaselanguagecode. Thesehavebeenaugmentedtocontainthepluralrulenamesandthelanguage'sdirection. >ISO::Language.find('ru') =>#<:language:0x007fe2ba43db50> Regions RegionsaredefinedbyISO3166-1;thatisthe2letteruppercaseregioncode. >ISO::Region.find('MX') =>#<:region:0x007fe2ba070e50> RegionscanalsobedefinedbytheUNM49standard;thatisthe3digitregioncode. >ISO::UN::Region.find('419') =>#<:region:0x007fe2ba43db50> Tags ThecombinationofalanguageandaregioniscalledaTag: >ISO::Tag.new('pt-BR') =>#<:tag:0x007fe2bb005b90>, @region=#<:region:0x007fe2ba412e28>> YoucancheckifaTagisvalidlikeso: >ISO::Tag.new('pt-BR').valid?=>true >ISO::Tag.new('lolcat').valid?=>false I18n Languageandregionnamesareinternationalized-contributetotheI18nprojectdirectlyonLocaleforanychanges. About Nodescription,website,ortopicsprovided. Resources Readme License MITLicense Stars 46 stars Watchers 3 watching Forks 12 forks Releases 13 tags Packages0 Nopackagespublished Contributors7 Languages Ruby 100.0% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?