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

Babel/i18n number formatting in alternate locales #6471

Open
aikaterna opened this issue Nov 13, 2024 · 0 comments
Open

Babel/i18n number formatting in alternate locales #6471

aikaterna opened this issue Nov 13, 2024 · 0 comments
Labels
Status: Needs Triage This has not been labeled or discussed for handling yet. Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. Type: Dependency Update Adding/updating/removing some of Red’s dependencies.

Comments

@aikaterna
Copy link
Member

aikaterna commented Nov 13, 2024

What Red version are you using?

3.5.13

What were you trying to do?

Some number formatting in locales other than en-EN throws a traceback - this is an issue upstream with Babel which Red uses for i18n number formatting but I didn't find a relevant issue to link. The example image/traceback is from the uptime command.

Image

Relevant message links from the Red Discord server:
https://discord.com/channels/133049272517001216/160386989819035648/1293136762637389885 (es-ES locale)
https://discord.com/channels/133049272517001216/387398816317440000/1306337578445705217 (de-DE locale)

What did you expect to happen?

For the number formatting to work appropriately.

What actually happened?

See the above traceback or Discord message links for other examples of this traceback.

How can we reproduce this error?

  1. Set your bot to use de-DE or es-ES.
  2. Use [p]uptime
  3. Receive said traceback.

Anything else?

No response

@aikaterna aikaterna added Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. Type: Dependency Update Adding/updating/removing some of Red’s dependencies. labels Nov 13, 2024
@github-actions github-actions bot added the Status: Needs Triage This has not been labeled or discussed for handling yet. label Nov 13, 2024
kpopdev added a commit to kpopdev/Red-DiscordBot that referenced this issue Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage This has not been labeled or discussed for handling yet. Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. Type: Dependency Update Adding/updating/removing some of Red’s dependencies.
Projects
None yet
Development

No branches or pull requests

1 participant