Repro
Activate any locale other than French (e.g. de_DE, ja_JP, ru_RU, es_ES), then call humanize.naturalsize(1) / humanize.naturalsize(300).
Observed
Falls back to English "1 Byte" / "300 Bytes".
Expected
Translated byte strings like French has.
Why
msgid "%d Byte" exists in only 3 of 36 locale files (fr_FR, lv, si_LK). It was added in b172d67 ("Add i18n support for naturalsize() and French translation (python-humanize#294)") — only the French translation shipped with it.
Repro
Activate any locale other than French (e.g.
de_DE,ja_JP,ru_RU,es_ES), then callhumanize.naturalsize(1)/humanize.naturalsize(300).Observed
Falls back to English
"1 Byte"/"300 Bytes".Expected
Translated byte strings like French has.
Why
msgid "%d Byte"exists in only 3 of 36 locale files (fr_FR,lv,si_LK). It was added inb172d67("Add i18n support fornaturalsize()and French translation (python-humanize#294)") — only the French translation shipped with it.