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

Add choice localization to locale provider #131

Open
1 task done
hypergonial opened this issue Jul 4, 2024 · 0 comments
Open
1 task done

Add choice localization to locale provider #131

hypergonial opened this issue Jul 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hypergonial
Copy link
Owner

Summary

Currently only command names/descriptions and option names/descriptions are supported by locale providers. Slash option choices however support localization. AutocompleteData would also benefit from having a .loc() method.

Why is this needed?

Slash option choices can be localized, it should be supported.

Ideal implementation

A seperate locale provider yielding choice localizations. It should be given all the choices for a given command & a locale, the command & option's name at the very least, and return localized choices.

Checklist

  • I have searched the issue tracker and have made sure it's not a duplicate. If it is a follow up of another issue, I have specified it.
@hypergonial hypergonial added the enhancement New feature or request label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant