Cog-Creators / Cog-Creators/Red-DiscordBot
Babel/i18n number formatting in alternate locales
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 2.5k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
### 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.

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_
Contributor guide
Assessment
This issue has not been assessed yet.