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

Support Multi-Lingual Typing Without Layout Change #683

Open
FragataIncognita opened this issue Jun 20, 2024 · 33 comments
Open

Support Multi-Lingual Typing Without Layout Change #683

FragataIncognita opened this issue Jun 20, 2024 · 33 comments
Assignees
Labels
Consolidated Duplicate has been consolidated Duplicate Same as or similar to another ticket Feature Request Request for a new feature High Complexity Requires a lot of time and effort High Priority Get this done as soon as possible Triaged Ticket assessed and assigned

Comments

@FragataIncognita
Copy link

I write in spanish and english frequently. In Gboard and florisboard you can use the same keyboard layout (spanish for example) to write in multiple languages and get corrections and suggestions for both or more languages. Currently in FUTO keyboard if I want to write something in english while on the spanish layout it will auto-correct the words to spanish.
I imagine that this could be fixed adding a function to reference multiple language dictionaries at the same time. Not necessarily linked to the current layout.
This is probably possible through the dictionary override feature, but it would be better if I could choose to add another of the existing language dictionaries directly from within the app.
Cheers!

@andrej-dyck
Copy link

This is really important for people who text in different languages. Switching keyboard layouts takes too much time and breaks focus.

On the gboard keyboard it is possible to choose one layout and have the prediction, spell check, and swipe typing work for all installed languages (that have the latin alphabet).

@DavidBevi
Copy link

Strongly agree, if I had priority-points to give I'd spend them here

@SnakeSnowflake
Copy link

SnakeSnowflake commented Jul 5, 2024

Not having this feature causes too tedious of a workflow for those using more than one language with the same alphabet.
Example:

  1. Open a chat in German.
  2. Long press the space-bar (apropos, current implementation is sub-optimal [Feature request] Swipe Space to Change Language #52), wait out the activation delay, release the space bar, select German out of the list, type.
  3. Open another chat in English.
  4. Long press the space-bar, wait out the activation delay, release the space bar, select English out of the list, type.
  5. Keep looping from point 1 every 10 seconds.

For those unfamiliar, not having the correct language selected would cause the auto-correct to butcher the inputs beyond recognition and can also get real goofy if the languages are close enough.

This use-case is common enough and lack thereof is a 'painful' enough for both GBoard and SwiftKey to include and enable it by default.

@andrej-dyck
Copy link

@SnakeSnowflake I had this "experience" yesterday to the extreme when I chatted with one friend in English and another one in German 🙃

@Siphonay
Copy link

Siphonay commented Jul 6, 2024

I can only voice my support for this feature like other people did, I constantly switch between French and English in my internet life, and Gboard's multilingual feature was a boon. I think FUTO is a great project and it supporting the use of multiple dictionaries at the same time would make me never look back

@DrDustwolf
Copy link

I agree strongly. This feature is essential for us polylinguists.

@thiswillbeyourgithub
Copy link

I took a look at how AOSP dictionaries were made and stumbled upon python scripts used to make some of them there. By any chance, maybe someone here has some time to see if we can trivially make multilingual dictionary? That could be a viable workaround for use multilingual typers and alleviate the burden on the dev of the FUTO keyboard.

This repo is where at least the French dictionary linked by FUTO comes from and seems fine to me so I'm very hopeful.

@robsdedude
Copy link

robsdedude commented Jul 9, 2024

I think what gboard does is a little more elaborate than just slapping dictionaries together. It has context what language you're currently likely to want to use and prefers suggetions in that language. Not sure what factors play into it though. I think not doing this will likely result in poor UX.

@r4p1dm0t10n
Copy link

I took a look at how AOSP dictionaries were made and stumbled upon python scripts used to make some of them there. By any chance, maybe someone here has some time to see if we can trivially make multilingual dictionary? That could be a viable workaround for use multilingual typers and alleviate the burden on the dev of the FUTO keyboard.

I tried doing this with English and German but the German doesn't seem to work. I just added all the German words to the English dictionary before creating the dict file. I also added a setting for umlauts that I found in the first line of the German dictionary file. Maybe it gets an error and uses the default as fallback? With umlauts that might be a thing.

@blackfyre
Copy link

Tbh, this is probably the single, biggest problem I have with the keyboard... Everything else I, can live with, but this?

@moraisp
Copy link

moraisp commented Jul 14, 2024

I would love to use this, but without automatic language detection it's too incovinient.
When you're a non English speaker you are constantly using English words mid sentence, so it's not just a case of choosing a language or the other before you start typing.
I'll follow this repo and give it a try again once we get this feature.

@Lu9-ST
Copy link

Lu9-ST commented Jul 27, 2024

While this isn't a dealbreaker for me, as someone migrating from SwiftKey it definitely makes me forget often about switching languages. My suggestion for the time being would be more of a "workaround" than a proper solution, but one that maybe would be better than nothing, and that is, as an example: in another language, type an english word (manually, unless, as someone here previously mentioned, you could "combine" dictionaries) then press space and it will try to see if that word is mostly seen in the english dictionary (maybe you can have set priority languages for certain words that are written exactly the same in both english and the other language) and then auto-switch to english accordingly. then type a word from the previous language to go back. just tossing an idea out there.

@Penguinjumper
Copy link

Very important for me, too, and the only reason that as a privacy conscious Person I am still stuck with Gboard for now 😬

@kittenvr
Copy link

I want

@Smudge8373
Copy link

Killer feature, the only reason I have to stick with gboard. Unfortunately.

@lord-carlos
Copy link

Agree with the others. I often write 3 languges, sometimes I switch mid sentence.
For me this is a must have feature.

@nox999
Copy link

nox999 commented Sep 17, 2024

I write in two languages and this is a mandatory feature for me. Gboard and Swifkey have this feature and it works great. I really can't go back to switching languages manually.

@nach
Copy link

nach commented Oct 17, 2024

+1

@haldi4803
Copy link

Ohoo we got a High Priority Label. The Future looks bright.

@Siphonay
Copy link

Fellow users, this feature is probably not trivial at all to implement, I would suggest if it's not already done to do a one time purchase of FUTO Keyboard to support its development!

@thiswillbeyourgithub
Copy link

Fellow users, this feature is probably not trivial at all to implement, I would suggest if it's not already done to do a one time purchase of FUTO Keyboard to support its development!

I'm sorry for the notification but I can't help myself. Please do the one time purchase if you can. FUTO Keyboard was (no hyperbole) the lowest [time to test]-[time to donate] I've ever had for a software. It's absolutely brilliant and was long awaited. Even at the alpha stage, it was awesome enough that I installed to 10 of my closed ones that now enjoy private speech to text! The keyboard, UI, LLMs, STT, etc are all of high quality and promising future, the weakness are, at their own pace, being addressed (create a swipe dataset?! That's awesome!).

And I'm not even using it for English, that's telling!

Please purchase if you can. Sorry for the notification, I hope it won't inspire others to distract this thread but it's so great!

@blackfyre
Copy link

Fellow users, this feature is probably not trivial at all to implement, I would suggest if it's not already done to do a one time purchase of FUTO Keyboard to support its development!

I did, way before joining in on this thread...

@dean-futo dean-futo transferred this issue from futo-org/android-keyboard Oct 20, 2024
@abb128 abb128 transferred this issue from futo-org/futo-keyboard-layouts Oct 21, 2024
@dean-futo dean-futo added Consolidated Duplicate has been consolidated Duplicate Same as or similar to another ticket Feature Request Request for a new feature labels Nov 3, 2024
@dean-futo
Copy link
Contributor

dean-futo commented Nov 3, 2024

#362 and #478 are duplicates - merged those requests into this one. #310 is also similar - merged that one into this one as well.

@dean-futo dean-futo added the Triaged Ticket assessed and assigned label Nov 3, 2024
@codethief
Copy link

codethief commented Nov 3, 2024

@dean-futo I wouldn't exactly call #478 a duplicate: The latter is about automatically detecting the current language (while still assuming there is a single language being used) whereas the present issue, as far as I understand, is about mixing dictionaries and supporting multiple languages within the same text. #478 seems a lot easier to achieve whereas the details of how one would solve the present issue are still quite hazy from where I stand. For instance, mixing dictionaries will almost certainly deteriorate the quality of single-language word prediction.

In other words: While both approaches address the topic of making it convenient to use multiple languages, they do so in quite different ways and with different trade-offs and one could very well imagine offering both and letting the user decide.

@PhilC813
Copy link

PhilC813 commented Nov 4, 2024

Indeed it's not really the same thing. People want to be able to be typing in two or more languages simultaneously, without the keyboard actually changing the language in use, just as it's implemented on Google Gboard.

@Draic
Copy link

Draic commented Nov 4, 2024

as the previous comments said, I agree that now very different things have been merged. Most likely a too hasty cleanup?

@dean-futo
Copy link
Contributor

@codethief thank you for the elaboration - you’re right. Reopened #478 as a separate issue.

@dean-futo dean-futo changed the title Support Multi-Language Typing Without Layout Change Support Multi-Lingual Typing Without Layout Change Nov 14, 2024
@dean-futo
Copy link
Contributor

#426 is a duplicate - merged that request into this one.

@kwinz
Copy link

kwinz commented Nov 25, 2024

I make way more mistakes with FUTO keyboard compared to Swiftkey because I keep forgetting to switch between languages and then I keep getting obnoxious typing errors and incorrect auto-corrections. This is a must-have feature for me.

@zbigniewzolnierowicz
Copy link

This is the only blocker I have before I could switch to FUTO Keyboard off Gboard.

@ZerGo0
Copy link

ZerGo0 commented Dec 23, 2024

I'm willing to put up a $200 bounty on this. I'm constantly switching between German and English which gets pretty annoying when you text with your family, but also look something up online so yea... My contact info is linked on my site.

@dean-futo I'm not 100% sure if you guys allow bounties or not. I saw one in another issue so I think it's fine?

@Siphonay
Copy link

I'm willing to put up a $200 bounty on this.

If it materializes I would be willing to add 30$ to that bounty, not a huge amount but that’s what within my means, and I would encourage other users who really want this feature to contribute as well if they are willing and able to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Consolidated Duplicate has been consolidated Duplicate Same as or similar to another ticket Feature Request Request for a new feature High Complexity Requires a lot of time and effort High Priority Get this done as soon as possible Triaged Ticket assessed and assigned
Projects
None yet
Development

No branches or pull requests