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 a way for the user to select which languages they understand #29989

Open
renchap opened this issue Apr 18, 2024 · 1 comment
Open

Add a way for the user to select which languages they understand #29989

renchap opened this issue Apr 18, 2024 · 1 comment

Comments

@renchap
Copy link
Sponsor Member

renchap commented Apr 18, 2024

Preliminary note

This issue is part of our "help wanted" issues. It represents something that we know we want to implement, and that is defined enough that a contributor can implement it in a way that it would get merged.

If you want to work on this, please add a comment saying so and ask any questions you need, then open a PR referencing this issue!

Description

This should be a similar user setting to the "filter timeline" languages that we have in Preferences > Other.

It would allow the user to pick a list of language they understand, which would disable the "translate" button for posts in this language. It may also be a good idea to show these languages on top of the language selection menu in the compose form.

Nice to have:

  • It probably does not make sense to have "English (US)" and "English (UK)" as separate languages. I am not sure if this is the same for every language, maybe we should consider that if you pick en-US then all languages matching en-* are considered as spoken as well? Is this an issue with some languages?
  • Should this be exposed publicly in the account AP object and federated, so UIs can use it for some nice features?

This would solve:

Could solve:

Implementation notes

I am not sure we need to display a full list of languages with a checkbox for it. A nice picker that adds those to a list is probably a best UI, so only the ones you selected are shown

@tribela
Copy link
Contributor

tribela commented May 9, 2024

It probably does not make sense to have "English (US)" and "English (UK)" as separate languages. I am not sure if this is the same for every language, maybe we should consider that if you pick en-US then all languages matching en-* are considered as spoken as well? Is this an issue with some languages?

ko-KR and ko-KP has more differences than en-US/en-UK. Some sentences need translator to understand
BTW, Mastodon doesn't support ko-KP for now

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

No branches or pull requests

2 participants