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

Issue with predicted words in multilingual keyboard #389

Closed
arasaac-dga opened this issue May 9, 2024 · 5 comments
Closed

Issue with predicted words in multilingual keyboard #389

arasaac-dga opened this issue May 9, 2024 · 5 comments

Comments

@arasaac-dga
Copy link
Collaborator

We have created a multilingüal keyboard (4 buttons to change language) that has added 4 dictionaries and we found an issue with word prediction. The problem is that the predictions cells show words in any of the 4 languages, not only in the language that is set in this momment as you expected. So, the keyboard doesn't accomplish with its objetive of communicate and write in one language.

On the other hand we have found another issue perhaps related with the issue commented. When you press in some predicted word cell, you listen sometimes the word that is going to appear after the one you are seeing in this momment although the word that is added to the accumulated phrase is the one you see in the predction cell. If the predicted word doesn't change there is no problem but if it's going to change is confuse for user due that listen a different word that press.

klues added a commit that referenced this issue Jun 14, 2024
@klues
Copy link
Contributor

klues commented Jun 14, 2024

We have created a multilingüal keyboard (4 buttons to change language) that has added 4 dictionaries and we found an issue with word prediction. The problem is that the predictions cells show words in any of the 4 languages,

I've added an option to use the dictionary of the current content language. See the options of action "Fill prediction elements" at the collect element of the global grid:
image

I've also set it as default for the default global grid, so you can just reset the global grid to default in "Manage grids".
You also have to delete and re-import existing dictionaries, since old ones don't have the information about the language saved.

I've also fixed a bug, where predictions of subsequent words were not shown. So now it's again possible to write things like "My name is Benjamin", delete it and afterwards write "My" where "name" is suggested as next word.

Please test at "latest".

On the other hand we have found another issue perhaps related with the issue commented. When you press in some predicted word cell, you listen sometimes ...

Sorry, but I didn't understand that. Please try to explain again.

@arasaac-dga
Copy link
Collaborator Author

We have tried and work fine following the steps you mention. So this part solved.

About the other problem see this video. As you can see the system "say" the next predicted word (that replace the actual one in one cell), no the one is showed in this momment when you press the actual predicted word. It happens in all the languages (we have tried on Spanish and English).

Video.de.WhatsApp.2024-06-14.a.las.15.50.19_6b3adca6.mp4

@klues
Copy link
Contributor

klues commented Jun 17, 2024

Thanks for explaining, please test the fix at latest.

@arasaac-dga
Copy link
Collaborator Author

Yes. Now works as expected. Thanks

@klues
Copy link
Contributor

klues commented Jun 19, 2024

@klues klues closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants