From 400b753d76a8f6561307c557db4291242a825047 Mon Sep 17 00:00:00 2001 From: "pdroidandroid@gmail.com" Date: Sun, 23 Jan 2022 23:43:09 +0100 Subject: [PATCH] Updated README.md --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 31b0ac594..2234b13aa 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,22 @@ Join [here](https://matrix.to/#/#openboard:matrix.org?via=matrix.org) ## Common issues -- Cannot open settings in MIUI - -See https://github.com/dslul/openboard/issues/46 +- Cannot open settings in MIUI: See [issue #46](https://github.com/dslul/openboard/issues/46). ## Contribute ### How to create a dictionary -You can use [this tool](https://github.com/remi0s/aosp-dictionary-tools) to create a dictionary. You need a wordlist, as described [here](https://github.com/dslul/openboard/blob/master/dictionaries/sample.combined). The output .dict file must be put in [res/raw](https://github.com/dslul/openboard/tree/master/app/src/main/res/raw). +You can use [this tool](https://github.com/remi0s/aosp-dictionary-tools) to create a dictionary. You need a wordlist, as described [here](dictionaries/sample.combined). The output .dict file must be put in [res/raw](app/src/main/res/raw). + +### How to edit keyboard texts +Make your modifications in [tools/make-keyboard-text/src/main/resources](tools/make-keyboard-text/src/main/resources)/values-YOUR LOCALE. + +Generate the new version of [KeyboardTextsTable.java](app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsTable.java): +```sh +./gradlew tools:make-keyboard-text:makeText +``` + + ### APK Development