dessalines / thumb-key

A privacy-conscious Android keyboard made for your thumbs
GNU Affero General Public License v3.0
1.01k stars 211 forks source link

When adding new language, how to add Diacritics? #554

Closed namelessperson0 closed 9 months ago

namelessperson0 commented 11 months ago

I am trying to add few Indian languages.

Several Indian languages use Diacritic where consonants and vowels combine.

I am not able to find out how to add Diacritics in this file https://github.com/dessalines/thumb-key/blob/main/app/src/main/java/com/dessalines/thumbkey/keyboards/ENThumbKey.kt

Some info about Indian languages https://en.wikipedia.org/wiki/Devanagari

dessalines commented 11 months ago

I don't have any expertise with this, but there is a composed layout, that adds some accents https://github.com/dessalines/thumb-key/blob/main/app/src/main/java/com/dessalines/thumbkey/utils/Utils.kt#L368C9-L368C9