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

Auto detection of language when writing posts/comments. #1231

Open
lullis opened this issue Jun 13, 2023 · 8 comments
Open

Auto detection of language when writing posts/comments. #1231

lullis opened this issue Jun 13, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@lullis
Copy link

lullis commented Jun 13, 2023

Is your proposal related to a problem?

Having to select which language to use on every post is an unnecessary pain. The list is also unnecessary long (Ignore, if you select the languages the list is filtered down)

Describe the solution you'd like.

First, I'd like to be able to indicate which languages I can actually use. Maybe this requires some work on the backend to save the settings, but it could be done client-side by reading the values from the browser settings.

I'd also like to have a sensilble default language: If I'm responding to a post in Portuguese, it's quite likely that my answer will be in Portuguese as well.

Describe alternatives you've considered.

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/detectLanguage

Additional context

No response

@lullis lullis added the enhancement New feature or request label Jun 13, 2023
@pproe
Copy link

pproe commented Jun 13, 2023

Would be useful to include a "Preferred Languages" list as part of user settings. If only one language is included, simply apply that for each post. Else, offer a concise list of all preferred languages for the user to select.

@BCNelson
Copy link

This could be used https://github.com/kwonoj/cld3-asm in the browser

@Scribbd
Copy link

Scribbd commented Jun 14, 2023

Be mindful that there is also an effort to integrate this into the lemmy backend: LemmyNet/lemmy#2870

EDIT: 'effort' might have too big of a word, maybe 'open ticket' suited better.

@loid345
Copy link

loid345 commented Jun 17, 2023

You can write in any language if there is a built-in translator like in Facebook linkedin or soapbox

image

@Zetaphor
Copy link
Contributor

In the very least we should be selecting a default when only one option is available.
I'm attempting to make a post on lemmy.world in a thread for which English is the only available option, but if I try and submit without first selecting a language my submission fails.

I've also seen this issue occurring in Jerboa

@KaKi87
Copy link

KaKi87 commented Jun 25, 2023

Hello,

I would like to suggest using by default :

  • when creating a post, the last created post's language ;
  • when commenting a post, the post's language ;
  • when replying to a comment, the comment's language.

Thanks

@tripathiakshit
Copy link

A simpler implementation could just be to have an option for default comment language in the user's profile settings, and applying that instead of undetermined.

@KaKi87
Copy link

KaKi87 commented Jul 12, 2023

Not really, because many of us write in multiple languages, not determined by our nationality, but by the community we're posting in, the author of the post we're replying to, etc.

Even if there's a language one writes in more than another, they can often switch from one to the other in the same minute, just because they're interacting in different communities, and that's when the user would forget to change the selection, which regularly happens on Mastodon already.

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

8 participants