Dictionaries update (#80)
* added missing words to the Bulgarian dictionary * English dictionary update * removed repeating words from the Italian and Bulgarian dictionaries * fixed incorrectly broken words and removed repeating ones from the Ukrainian dictionary * Russian dictionary update * documentation update * made it possible to type words with apostrophes (Dutch, English and Ukrainian)
This commit is contained in:
parent
6c19edc8a3
commit
8b67929a07
23 changed files with 187613 additions and 57933 deletions
|
|
@ -50,7 +50,9 @@ To support a new language one needs to:
|
|||
- The text must be white and the background must be transparent as per the [official Android guide](https://android-doc.github.io/guide/practices/ui_guidelines/icon_design_status_bar.html).
|
||||
- To simplify the process, you could use Android Studio. It has a built-in icon generator accessible by right-cicking on "drawable" folder -> New -> Image Asset. Then choose "Icon Type": "Notification Icons", "Asset Type": Text, "Trim": No, "Padding": 0%.
|
||||
- Find a suitable dictionary and add it to `assets` folder.
|
||||
- Create a new language class in `languages/definitions/`. Make sure to set all properties. The ID must be the next available one. Currently, the range is limited between 1 and 31, so there can be 31 languages in total.
|
||||
- Create a new language class in `languages/definitions/`. Make sure to set all properties.
|
||||
- `ID` must be the next available number. Currently, the range is limited between 1 and 31, so there can be 31 languages in total.
|
||||
- Set `isPunctuationPartOfWords` to `true`, if you need to use the 1-key for typing words, such as: `it's`, `a'tje` or `п'ят`. Otherwise, it would not be possible to type them, nor will they appear as suggestions. `false` is recommended when apostrophes or other punctuation are not part of the words, to allow faster typing.
|
||||
- Add the new language to the list in `LanguageCollection.java`. You only need to add it in one place, in the constructor. Please, be nice and maintain the alphabetical order.
|
||||
- Add a new entry in `res/values/const.xml`. Make sure the new ID matches the one in the language class.
|
||||
- Add new entries in `res/values/arrays.xml`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue