Skip to content

3.1.3 Windows, locale number format not respected in UI #2518

@Liggliluff

Description

@Liggliluff

Describe the bug
The number format in Audacity is based on the translation, and not the system settings. By default, number formats should be based on the system. I use English (Sweden) for proper ISO 80000-1 support, but setting Audacity to English gives me an improper number format, since it's based on British/American usage.

To Reproduce
Steps to reproduce the behavior:

  1. Set Windows number format to a language such as German, Swedish, or English (Sweden)
  2. Start up Audacity and set the display language to English
  3. The number formats at the bottom of the screen (by default) shows up as "000,000,000 samples" and "00h00m00.000s" (hh:mm:ss+milliseconds)
  4. See error

Expected behavior
Software in Windows should be using the number format of Windows unless there's a good reason not to. Audacity currently bases the symbols on the translation, which is not a valid reason. For consistency, accessibility reason and more, all number formats in Audacity should show based on what the Windows number format is set to.

Screenshots
Audacity number formats:
image
Windows number format settings:
image

Additional information (please complete the following information):

  • OS: Windows 10
  • Version: Audacity 3.1.3

Additional context
Good software design should take different locales into account. For example, English (Sweden) has the number format 000 000 000,000 and this format is as of now not supported by Audacity. By following Windows number format setting, a user can choose what they want as their symbols in any software that has proper locale support.

You can't make this based on translations, because you currently don't support English (Sweden) as an option, and users might have a valid reason to change how the symbols appear. For example, a user should have the option to change the decimal mark to • if they so choose to have a more visible symbol. In my case, I want to use a space as thousand separator since using comma or period is confusing, and I want comma as a decimal mark since it's a more visible mark than a period.

The Swedish translation is also incorrectly using format 000,000,000.000 when it should be 000 000 000,000 regardless, so I can't even get the ISO 80000-1 format by selecting Swedish as the language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Design / UXBugs, enhancement requests and tasks a designer should look atEnhancement RequestOr feature requests. Open-ended requests are better suited for discussions.minor featurelow impact featuretranslation / i18nbugs and tasks specific to certain language versions

    Type

    No type

    Projects

    Status

    Implemented

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions