discord.py icon indicating copy to clipboard operation
discord.py copied to clipboard

Add unicode language identifiers to Locale

Open Luc1412 opened this issue 2 years ago • 0 comments

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

Luc1412 avatar Sep 30 '23 20:09 Luc1412