Join our [matrix] channel here.
You can help in translating OpenBoard in your language through our Weblate project.
You can use this tool to create a dictionary. You need a wordlist, as described here. The output .dict file must be put in res/raw, its wordlist in dictionnaries.
For your dictionnary to be merged, you need to provide the wordlist you used, as well as its license if any.
Install java:
sudo pacman -S jdk11-openjdk jre11-openjdk jre11-openjdk-headless
Install Android SDK:
sudo pacman -S snapd
sudo snap install androidsdk
Configure your SDK location in your ~/.bash_profile
or ~/.bashrc
:
export ANDROID_SDK_ROOT=~/snap/androidsdk/current/AndroidSDK/
Compile the project. This will install all dependencies, make sure to accept licenses when prompted.
./gradlew assembleDebug
Connect your phone and install the debug APK
adb install ./app/build/outputs/apk/debug/app-debug.apk
Make your modifications in tools/make-keyboard-text/src/main/resources/values-YOUR LOCALE.
Generate the new version of KeyboardTextsTable.java:
./gradlew tools:make-keyboard-text:makeText