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

Assign One Custom Keyboard to Multiple Languages #147

Open
DZAladan opened this issue Jan 9, 2025 · 1 comment
Open

Assign One Custom Keyboard to Multiple Languages #147

DZAladan opened this issue Jan 9, 2025 · 1 comment
Assignees
Labels
High Complexity Requires a lot of time and effort High Priority Get this done as soon as possible System Limitation A limitation in the layout system Triaged Ticket assessed and assigned

Comments

@DZAladan
Copy link

DZAladan commented Jan 9, 2025

As per title says, I've made a custom QWERTY keyboard for personal use.

However, since I'm bilingual and I constantly switch languages, I have no clue how to assign this keyboard to two different languages at the same time (besides making an exact copy of the same keyboard), despite making multiple attempts.

How can I do that, if possible in the first place?

@chrisnordborg
Copy link

I tried something tonight as a workaround and have succeeded in being able to use the default english US QWERTY layout (that I wanted) with a dictionary containing both english and swedish.

  1. Find your desired language wordlists. Perhaps from https://codeberg.org/Helium314/aosp-dictionaries/src/branch/main/README.md. Download the "...wordlist.combined" file types.
  2. Copy and paste the complete wordlist (not including the first row) from one and paste at the end of the second file.
  3. Important note, in the first row, the parameter "locale" seems to decide onto which language you are allowed to import the dictionary to inside the FUTO keyboard app.
  4. Use https://github.com/remi0s/aosp-dictionary-tools/tree/master (or some other way) to create a .dict file from the .combined file.
  5. Make the .dict file available on your phone (I emailed it to myself and downloaded it onto my phone).
  6. In the FUTO keyboard app, in Languages & Models, replace the dictionary with the one you created.

I haven't tried the new dictionary for long but some initial checking proved that both languages were present at least. And there very well may be possibilities for improvements, in word suggestion from a primary language for example. I just now found this out and wanted to share it since it's been bothering me for a while.

@dean-futo dean-futo changed the title Assign one custom keyboard to multiple languages Assign One Custom Keyboard to Multiple Languages Feb 7, 2025
@dean-futo dean-futo added High Priority Get this done as soon as possible System Limitation A limitation in the layout system High Complexity Requires a lot of time and effort Triaged Ticket assessed and assigned labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Complexity Requires a lot of time and effort High Priority Get this done as soon as possible System Limitation A limitation in the layout system Triaged Ticket assessed and assigned
Projects
None yet
Development

No branches or pull requests

4 participants