mathjazz / pontoon

In-place localization tool
https://pontoon.mozilla.org/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Integrate script to calculate CLDR population #1100

Open mathjazz opened 7 years ago

mathjazz commented 7 years ago

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

mathjazz commented 7 years ago

Comment Author: @MikkCZ

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

mathjazz commented 7 years ago

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.