metabolist/metatext

Add language selector for toots

Opened this issue · 6 comments

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Just add another button to the toolbar when creating a toot where it’s possible to select from languages

Describe alternatives you've considered
Using the website..

Additional context
Maybe let us preselect the languages in the app settings so the list doesn’t get too long?

Just want to say that for a bilingual or multilingual user, this is huge. So it is kind of related to a problem! Thank you for opening this issue.

alper commented

I'd like to pick this up (I write in 4 languages in any given week). Is there a design for this?

Thanks so much, Alper!

The current web interface looks like this:

image

Metatext's interface is similar, but without the red box (the language selector).

The web interface is a bit cumbersome to use, as it provides a very long list of languages - even a search field to find the language:

image

Perhaps for Metatext, we could do this:

  • Under Preferences, user can choose the languages to include in the language selector at the toot editor.
  • At the toot editor, a button displays the ISO 639-1 language code showing the current selected language (similar to the web interface).
  • Press and hold the button to display a box of language selector. This would be the reduced list, including only the languages that the user has chosen under Preferences.
  • Release within the box on a language to select a language. Release outside of box to make the box disappear. Drag to the top and bottom edge of the box to scroll.
  • Clicking on the button with the language code to rotate through the languages.
  • Metatext remembers the last used language, so if a user is involved in a discussion, there is no need for re-selection.

Under Preferences, user can choose the languages to include in the language selector at the toot editor.

That's what I meant with

Additional context
Maybe let us preselect the languages in the app settings so the list doesn’t get too long?

:)

maco commented

@dalechou that's a great set of interaction ideas! After seeing the "only show me posts in [select languages]" setting, I'm 😬 about the fact that I suspect I'm posting marked as Spanish (because my phone is in Spanish) while I'm actually doing more posting in English.

bahlo commented

Metatext remembers the last used language, so if a user is involved in a discussion, there is no need for re-selection.

I think Metatext should mirror the web app: Replies to a post should default to the language of the original post and it otherwise should always show the configured default