Skip to content

Conversation

@mxsasha
Copy link
Contributor

@mxsasha mxsasha commented Nov 22, 2014

Available in the global data onder the 'territory_language' key. For example, for NL this looks like:

{'en': {'official_status': None, 'population_percent': 74.0},
 'fy': {'official_status': 'official_regional', 'population_percent': 4.3},
 'gos': {'official_status': None, 'population_percent': 3.6},
 'id': {'official_status': None, 'population_percent': 1.8},
 'li': {'official_status': None, 'population_percent': 5.5},
 'nl': {'official_status': 'official', 'population_percent': 100.0},
 'rif': {'official_status': None, 'population_percent': 1.2},
 'tr': {'official_status': None, 'population_percent': 1.2},
 'zea': {'official_status': None, 'population_percent': 1.4}
}

Source from the CLDR is: http://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html

@sils
Copy link
Member

sils commented Aug 5, 2015

looks good on first sight. Rebase to make tests pass and then we'll see the coverage.

Available in the global data onder the 'territory_language' key.
@codecov-io
Copy link

Current coverage is 83.38%

Merging #122 into master will not affect coverage as of 129076b

@@            master    #122   diff @@
======================================
  Files           22      22       
  Stmts         3756    3756       
  Branches         0       0       
  Methods          0       0       
======================================
  Hit           3132    3132       
  Partial          0       0       
  Missed         624     624       

Review entire Coverage Diff as of 129076b

Powered by Codecov. Updated on successful CI builds.

@sils
Copy link
Member

sils commented Nov 22, 2015

assigning @etanol for review of CLDR related PR :)

@etanol
Copy link
Contributor

etanol commented Dec 29, 2015

Wouldn't this need some kind of API functionality? I am not sure if the global.dat file is intended to be directly exposed, because its structure is not guaranteed to be stable. Any future changes to it would then break users' code.

@akx
Copy link
Member

akx commented Dec 29, 2015

Well, get_global() is a public API as it is...

@akx akx mentioned this pull request Jan 3, 2016
@akx
Copy link
Member

akx commented Jan 11, 2016

This was closed via #315.

@akx akx closed this Jan 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants