Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display weight and volume units with space as per international standard #492

Open
sigmundpetersen opened this issue Dec 8, 2023 · 1 comment
Labels
from Discourse Issues transferred from Discourse Potential Papercut Issues that might qualify as papercuts (0.5 days dev)

Comments

@sigmundpetersen
Copy link
Contributor

sigmundpetersen commented Dec 8, 2023

Transferred from Discourse

What is the need / problem?

When displaying weights and volumes with units, we currently show the unit attached to the number without a space. For example 12kg or 10L (see more examples below).

It has been shown that the international standard is to separate units with a space, for example 12 kg or 10 L. See reference below.

However in some regions (Australia at least), this standard is not used.

Examples

9910e0619a0bd0a764348c30f9ae03a13ea9296b
a24c6f3de53feba6320605e7fe9a5f47d64f10f3
fadca5235544b6fcf5efe6c423c0c948bd819f78
e8770d11d12d3952358ac29b7cb5c57fa85acc87
4c539a1cde2c99f124b0ceadf7f4884acdcc0861

Which type of users does this problem affect (and how many, if known)?

Potential solutions that will solve the problem?

  1. We can add a space separator to displayed in all contexts. OR,
  2. Maybe we could add a regional setting, according to local preference

Connected wishlist and discovery discussions

https://community.openfoodnetwork.org/t/display-weight-and-volume-units-with-space-as-per-international-standard/2832

References

@sigmundpetersen sigmundpetersen added the from Discourse Issues transferred from Discourse label Dec 8, 2023
@RachL RachL added the Potential Papercut Issues that might qualify as papercuts (0.5 days dev) label Jan 4, 2024
@filipefurtad0
Copy link

From testing pov, I'd say the above proposed solutions:

  1. We can add a space separator to displayed in all contexts. -> would be a papercut
  2. Maybe we could add a regional setting, according to local preference -> would not be papercut; I can imagine we'd have quite a few different scenarios to test both manually and make sure each of these scenarios are covered in specs.

@RachL RachL added the Parked label Feb 28, 2024
@github-project-automation github-project-automation bot moved this to Candidates in Wishlist Board Feb 28, 2024
@RachL RachL removed the Parked label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from Discourse Issues transferred from Discourse Potential Papercut Issues that might qualify as papercuts (0.5 days dev)
Projects
Status: Candidates
Development

No branches or pull requests

3 participants