Skip to content

Locale gap: '%d Byte' / '%d Bytes' untranslated in 33 of 36 locales #4

Description

@talonwr

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions