{"action":"created","comment":{"url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/comments/41785702","id":41785702,"diff_hunk":"@@ -0,0 +1,1351 @@\n+--- \n+:aliases: \n+  :language: \n+    :aa_SAAHO: ssy\n+    :aar: aa\n+    :abk: ab\n+    :afr: af\n+    :aju: jrb\n+    :aka: ak\n+    :alb: sq\n+    :als: sq\n+    :amh: am\n+    :ara: ar\n+    :arb: ar\n+    :arg: an\n+    :arm: hy\n+    :art_lojban: jbo\n+    :asm: as\n+    :ava: av\n+    :ave: ae\n+    :aym: ay\n+    :ayr: ay\n+    :aze: az\n+    :azj: az\n+    :bak: ba\n+    :bam: bm\n+    :baq: eu\n+    :bcc: bal\n+    :bcl: bik\n+    :bel: be\n+    :ben: bn\n+    :bih: bh\n+    :bis: bi\n+    :bod: bo\n+    :bos: bs\n+    :bre: br\n+    :bul: bg\n+    :bur: my\n+    :bxk: luy\n+    :bxr: bua\n+    :cat: ca\n+    :ces: cs\n+    :cha: ch\n+    :che: ce\n+    :chi: zh\n+    :chu: cu\n+    :chv: cv\n+    :cld: syr\n+    :cmn: zh\n+    :cor: kw\n+    :cos: co\n+    :cre: cr\n+    :cwd: cr\n+    :cym: cy\n+    :cze: cs\n+    :dan: da\n+    :deu: de\n+    :dgo: doi\n+    :dhd: mwr\n+    :dik: din\n+    :diq: zza\n+    :div: dv\n+    :dut: nl\n+    :dzo: dz\n+    :ekk: et\n+    :ell: el\n+    :emk: man\n+    :eng: en\n+    :epo: eo\n+    :esk: ik\n+    :est: et\n+    :eus: eu\n+    :ewe: ee\n+    :fao: fo\n+    :fas: fa\n+    :fat: ak\n+    :fij: fj\n+    :fin: fi\n+    :fra: fr\n+    :fre: fr\n+    :fry: fy\n+    :fuc: ff\n+    :ful: ff\n+    :gaz: om\n+    :gbo: grb\n+    :geo: ka\n+    :ger: de\n+    :gla: gd\n+    :gle: ga\n+    :glg: gl\n+    :glv: gv\n+    :gno: gon\n+    :gre: el\n+    :grn: gn\n+    :gug: gn\n+    :guj: gu\n+    :gya: gba\n+    :hat: ht\n+    :hau: ha\n+    :hbs: sr_Latn\n+    :hdn: hai\n+    :hea: hmn\n+    :heb: he\n+    :her: hz\n+    :him: srx\n+    :hin: hi\n+    :hmo: ho\n+    :hrv: hr\n+    :hun: hu\n+    :hye: hy\n+    :i_ami: ami\n+    :i_bnn: bnn\n+    :i_hak: hak\n+    :i_klingon: tlh\n+    :i_lux: lb\n+    :i_navajo: nv\n+    :i_pwn: pwn\n+    :i_tao: tao\n+    :i_tay: tay\n+    :i_tsu: tsu\n+    :ibo: ig\n+    :ice: is\n+    :ido: io\n+    :iii: ii\n+    :ike: iu\n+    :iku: iu\n+    :ile: ie\n+    :in: id\n+    :ina: ia\n+    :ind: id\n+    :ipk: ik\n+    :isl: is\n+    :ita: it\n+    :iw: he\n+    :jav: jv\n+    :ji: yi\n+    :jpn: ja\n+    :jw: jv\n+    :kal: kl\n+    :kan: kn\n+    :kas: ks\n+    :kat: ka\n+    :kau: kr\n+    :kaz: kk\n+    :khk: mn\n+    :khm: km\n+    :kik: ki\n+    :kin: rw\n+    :kir: ky\n+    :kmr: ku\n+    :knc: kr\n+    :kng: kg\n+    :knn: kok\n+    :kom: kv\n+    :kon: kg\n+    :kor: ko\n+    :kpv: kv\n+    :kua: kj\n+    :kur: ku\n+    :lao: lo\n+    :lat: la\n+    :lav: lv\n+    :lbk: bnc\n+    :lim: li\n+    :lin: ln\n+    :lit: lt\n+    :ltz: lb\n+    :lub: lu\n+    :lug: lg\n+    :lvs: lv\n+    :mac: mk\n+    :mah: mh\n+    :mal: ml\n+    :mao: mi\n+    :mar: mr\n+    :may: ms\n+    :mhr: chm\n+    :mkd: mk\n+    :mlg: mg\n+    :mlt: mt\n+    :mnk: man\n+    :mo: ro_MD\n+    :mol: ro_MD\n+    :mon: mn\n+    :mri: mi\n+    :msa: ms\n+    :mup: raj\n+    :mya: my\n+    :nau: na\n+    :nav: nv\n+    :nbl: nr\n+    :nde: nd\n+    :ndo: ng\n+    :nep: ne\n+    :nld: nl\n+    :nno: nn\n+    ? !ruby/symbol \"no\"","path":"resources/shared/aliases.yml","position":197,"original_position":197,"commit_id":"0071cc110aa86308b6a2b81c27236916236ec320","original_commit_id":"0071cc110aa86308b6a2b81c27236916236ec320","user":{"login":"KL-7","id":270365,"avatar_url":"https://avatars.githubusercontent.com/u/270365?v=3","gravatar_id":"","url":"https://api.github.com/users/KL-7","html_url":"https://github.com/KL-7","followers_url":"https://api.github.com/users/KL-7/followers","following_url":"https://api.github.com/users/KL-7/following{/other_user}","gists_url":"https://api.github.com/users/KL-7/gists{/gist_id}","starred_url":"https://api.github.com/users/KL-7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KL-7/subscriptions","organizations_url":"https://api.github.com/users/KL-7/orgs","repos_url":"https://api.github.com/users/KL-7/repos","events_url":"https://api.github.com/users/KL-7/events{/privacy}","received_events_url":"https://api.github.com/users/KL-7/received_events","type":"User","site_admin":false},"body":"Any ideas why this one wasn't encoded as `:no`?","created_at":"2015-10-12T18:24:50Z","updated_at":"2015-10-12T18:24:50Z","html_url":"https://github.com/twitter/twitter-cldr-rb/pull/164#discussion_r41785702","pull_request_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/164","_links":{"self":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/comments/41785702"},"html":{"href":"https://github.com/twitter/twitter-cldr-rb/pull/164#discussion_r41785702"},"pull_request":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/164"}}},"pull_request":{"url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/164","id":46187003,"html_url":"https://github.com/twitter/twitter-cldr-rb/pull/164","diff_url":"https://github.com/twitter/twitter-cldr-rb/pull/164.diff","patch_url":"https://github.com/twitter/twitter-cldr-rb/pull/164.patch","issue_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/164","number":164,"state":"open","locked":false,"title":"Adding support for likely subtags","user":{"login":"camertron","id":575280,"avatar_url":"https://avatars.githubusercontent.com/u/575280?v=3","gravatar_id":"","url":"https://api.github.com/users/camertron","html_url":"https://github.com/camertron","followers_url":"https://api.github.com/users/camertron/followers","following_url":"https://api.github.com/users/camertron/following{/other_user}","gists_url":"https://api.github.com/users/camertron/gists{/gist_id}","starred_url":"https://api.github.com/users/camertron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camertron/subscriptions","organizations_url":"https://api.github.com/users/camertron/orgs","repos_url":"https://api.github.com/users/camertron/repos","events_url":"https://api.github.com/users/camertron/events{/privacy}","received_events_url":"https://api.github.com/users/camertron/received_events","type":"User","site_admin":false},"body":"The CLDR data set contains a set of \"maximized\" locales, i.e. locales that contain a heuristically derived language, script, and region/territory. In twitter-cldr we mostly just care about the language (and sometimes the territory). Occasionally however, for features like transliteration, it's useful to know the most likely script for a given language or language/territory combo. That's where likely subtags come in. A straightforward example:\r\n\r\n```ruby\r\nlocale = :ru.localize.as_locale \r\n# => #<Locale:0x007fb83c21 @language=\"ru\", @script=nil, @region=nil, @variants=[]>\r\n\r\nlocale = locale.maximize\r\n# => #<Locale:0x007fb83c29 @language=\"ru\", @script=\"Cyrl\", @region=\"RU\", @variants=[]>\r\n\r\nlocale.full_script\r\n# => \"Cyrillic\"\r\n```\r\n\r\nA slightly more complex example:\r\n\r\n```ruby\r\n:ku_Arab.localize.as_locale.maximize\r\n# => #<Locale:0x007fb83c2d @language=\"ku\", @script=\"Arab\", @region=\"IQ\", @variants=[]>\r\n\r\n:ku_Latn.localize.as_locale.maximize\r\n# => #<Locale:0x007fb83d80 @language=\"ku\", @script=\"Latn\", @region=\"TR\", @variants=[]>\r\n```\r\n\r\nNotice that the region was automatically derived from the given language and script. Kurdish written with Latin characters is most common in Turkey, while Kurdish written with Arabic characters is most common in Iraq.","created_at":"2015-09-28T17:52:55Z","updated_at":"2015-10-12T18:24:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e294457243cab6751f1c77c4c3eb0a5d31e4544","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/164/commits","review_comments_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/164/comments","review_comment_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/164/comments","statuses_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/statuses/0071cc110aa86308b6a2b81c27236916236ec320","head":{"label":"twitter:likely_subtags","ref":"likely_subtags","sha":"0071cc110aa86308b6a2b81c27236916236ec320","user":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"repo":{"id":3541284,"name":"twitter-cldr-rb","full_name":"twitter/twitter-cldr-rb","owner":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twitter/twitter-cldr-rb","description":"Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.","fork":false,"url":"https://api.github.com/repos/twitter/twitter-cldr-rb","forks_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/forks","keys_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/teams","hooks_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/hooks","issue_events_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/events{/number}","events_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/events","assignees_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/assignees{/user}","branches_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/branches{/branch}","tags_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/tags","blobs_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/languages","stargazers_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/stargazers","contributors_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/contributors","subscribers_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/subscribers","subscription_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/subscription","commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/contents/{+path}","compare_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/merges","archive_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/downloads","issues_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues{/number}","pulls_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/labels{/name}","releases_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/releases{/id}","created_at":"2012-02-25T00:42:55Z","updated_at":"2015-10-09T09:09:25Z","pushed_at":"2015-10-08T14:38:41Z","git_url":"git://github.com/twitter/twitter-cldr-rb.git","ssh_url":"git@github.com:twitter/twitter-cldr-rb.git","clone_url":"https://github.com/twitter/twitter-cldr-rb.git","svn_url":"https://github.com/twitter/twitter-cldr-rb","homepage":"","size":25339,"stargazers_count":458,"watchers_count":458,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":9,"forks":49,"open_issues":9,"watchers":458,"default_branch":"master"}},"base":{"label":"twitter:master","ref":"master","sha":"4054e3ee23c42716d14c38231c7b39169a3afad4","user":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"repo":{"id":3541284,"name":"twitter-cldr-rb","full_name":"twitter/twitter-cldr-rb","owner":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twitter/twitter-cldr-rb","description":"Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.","fork":false,"url":"https://api.github.com/repos/twitter/twitter-cldr-rb","forks_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/forks","keys_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/teams","hooks_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/hooks","issue_events_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/events{/number}","events_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/events","assignees_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/assignees{/user}","branches_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/branches{/branch}","tags_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/tags","blobs_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/languages","stargazers_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/stargazers","contributors_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/contributors","subscribers_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/subscribers","subscription_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/subscription","commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/contents/{+path}","compare_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/merges","archive_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/downloads","issues_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues{/number}","pulls_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/labels{/name}","releases_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/releases{/id}","created_at":"2012-02-25T00:42:55Z","updated_at":"2015-10-09T09:09:25Z","pushed_at":"2015-10-08T14:38:41Z","git_url":"git://github.com/twitter/twitter-cldr-rb.git","ssh_url":"git@github.com:twitter/twitter-cldr-rb.git","clone_url":"https://github.com/twitter/twitter-cldr-rb.git","svn_url":"https://github.com/twitter/twitter-cldr-rb","homepage":"","size":25339,"stargazers_count":458,"watchers_count":458,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":9,"forks":49,"open_issues":9,"watchers":458,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/164"},"html":{"href":"https://github.com/twitter/twitter-cldr-rb/pull/164"},"issue":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/164"},"comments":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/164/comments"},"review_comments":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/164/comments"},"review_comment":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/164/commits"},"statuses":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/statuses/0071cc110aa86308b6a2b81c27236916236ec320"}}}}