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

feat(Locale): add spanish latam #1148

Merged
merged 13 commits into from
Apr 15, 2024
1 change: 1 addition & 0 deletions changelog/1148.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add :attr:`Locale.es_LATAM` locale.
2 changes: 2 additions & 0 deletions disnake/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,8 @@ class Locale(Enum):
"English, US | English, US"
es_ES = "es-ES"
"Spanish | Español"
es_LATAM = "es-419"
shiftinv marked this conversation as resolved.
Show resolved Hide resolved
"Spanish, LATAM | Español, LATAM"
fi = "fi"
"Finnish | Suomi"
fr = "fr"
Expand Down
6 changes: 6 additions & 0 deletions docs/api/localization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ Locale

The ``es_ES`` (Spanish) locale.

.. attribute:: es_LATAM

The ``es-419`` (Spanish, LATAM) locale.

.. versionadded:: 2.10

.. attribute:: fi

The ``fi`` (Finnish) locale.
Expand Down