discord.py
discord.py copied to clipboard
Add unicode language identifiers to Locale
Summary
Add unicode language identifiers to Locale
What is the feature request for?
The core library
The Problem
For some applications the language ID is required e.g. de -> de-DE.
The Ideal Solution
Add an attribute to Locale which accesses a hardcoded mapping.
The Current Solution
No response
Additional Context
Red Discord Bot Server convo with Danny: https://ptb.discord.com/channels/133049272517001216/160386989819035648/1150474462777589820