Inconclusive Commit Rate for Circuits for Germans #6877

Closed
opened 2025-12-29 19:46:17 +01:00 by adam · 1 comment
Owner

Originally created by @prauscher on GitHub (Aug 26, 2022).

NetBox version

v3.2.4

Feature type

Change to existing functionality

Proposed functionality

Change humanize_speed to always only show one decimal place

Use case

German viewers can easily be confused when entering a Commit Rate for a circuit of 2048 Kbps. This will be rendered as "2.048 Mbps" with a default english locale. In german, this can easily be interpreted as "2048 Mbps" by interpreting the decimal dot as a thousand separator.

Database changes

None

External dependencies

None

Originally created by @prauscher on GitHub (Aug 26, 2022). ### NetBox version v3.2.4 ### Feature type Change to existing functionality ### Proposed functionality Change `humanize_speed` to always only show one decimal place ### Use case German viewers can easily be confused when entering a Commit Rate for a circuit of 2048 Kbps. This will be rendered as "2.048 Mbps" with a default english locale. In german, this can easily be interpreted as "2048 Mbps" by interpreting the decimal dot as a thousand separator. ### Database changes None ### External dependencies None
adam added the type: feature label 2025-12-29 19:46:17 +01:00
adam closed this issue 2025-12-29 19:46:17 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 26, 2022):

We're not going to exclude data for the sake of satisfying alternative interpretations. I'd be happy to start a conversation (in a new feature request) about the benefits and implications of enabling localization, but it needs to be handled properly.

@jeremystretch commented on GitHub (Aug 26, 2022): We're not going to exclude data for the sake of satisfying alternative interpretations. I'd be happy to start a conversation (in a new feature request) about the benefits and implications of [enabling localization](https://docs.djangoproject.com/en/4.1/topics/i18n/formatting/), but it needs to be handled properly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6877