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 formatted pronouns to API #111

Open
williamistGitHub opened this issue Feb 17, 2024 · 1 comment
Open

Add formatted pronouns to API #111

williamistGitHub opened this issue Feb 17, 2024 · 1 comment
Labels

Comments

@williamistGitHub
Copy link

Hello! I've created a Minecraft mod using the API and was wondering if you'd be up for adding pre-formatted pronoun strings to the lookup response. It would be easier to add other non-browser platforms that don't share a codebase (such as other games potentially) if the formatting code didn't have to be ported to every supported platform.

@cyyynthia
Copy link
Owner

That's not the first time such a request has been made; see #102 and #23

The problem I have with doing such thing is that the way the extension does things is quite often closely tied to the way pronouns are being integrated. While the most basic forms could be delivered by the API, it won't account for things such as what locale to pick to display pronouns (whenever that becomes a thing) etc.

Having the API also act as a (primitive) presentation layer does feel wrong to me, because the way the extension does it is not set in stone in any meaningful capacity; yet doing it at the API level means having a fixed data structure that can't easily change (without causing breaking changes)...

The only tricky part of PDB's implementation is the long form, which is likely something integrations won't have to deal with, or that they should handle on their end anyway to better fit their needs. Other than that, the formatting step is just a simple lookup and is trivial to implement 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants