Auto detection of language when writing posts/comments.
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
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.
This could be used https://github.com/kwonoj/cld3-asm in the browser
Be mindful that there is also an effort to integrate this into the lemmy backend: https://github.com/LemmyNet/lemmy/issues/2870
EDIT: 'effort' might have too big of a word, maybe 'open ticket' suited better.
You can write in any language if there is a built-in translator like in Facebook linkedin or soapbox
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
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
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.
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.