pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Integrate script to calculate CLDR population

Open bugzilla-to-github opened this issue 8 years ago • 3 comments

This issue was created automatically by a script.

Bug 1396915

Bug Reporter: @mathjazz CC: @MikkCZ

When adding a new locale, one should fill in the Population field. It's tedious to manually calculate that number from the CLDR data, so a python script was kindly created by flod.

We should integrate it into the Django admin and execute it for example on blur on the code field:

https://github.com/mozilla-l10n/documentation/pull/103#pullrequestreview-60604946

bugzilla-to-github avatar Sep 05 '17 03:09 bugzilla-to-github

Comment Author: @MikkCZ

Is it necessary to have the field there at all, when it's filled automatically?

bugzilla-to-github avatar Sep 05 '17 03:09 bugzilla-to-github

Comment Author: @mathjazz

I'd keep it, at least temporarily as a check to see the number.

Sometimes we might also not find the data in CLDR.

bugzilla-to-github avatar Sep 05 '17 03:09 bugzilla-to-github

See also:

  • #2054

mathjazz avatar Nov 06 '21 13:11 mathjazz