Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4ccf116 authored by blunden's avatar blunden Committed by Michael Bestas
Browse files

LatinIME: Enable spellchecker for additional languages

We include more dictionaries than stock builds so let's
also enable spell checking for languages that use only
the supported unicode characters.

Change-Id: Iff9aea56edde10e47a754df39682f4f72c269756
parent c0ea8d80
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -63,4 +63,20 @@
            android:label="@string/subtype_generic"
            android:subtypeLocale="hu"
    />
    <subtype
            android:label="@string/subtype_generic"
            android:subtypeLocale="da"
    />
    <subtype
            android:label="@string/subtype_generic"
            android:subtypeLocale="fi"
    />
    <subtype
            android:label="@string/subtype_generic"
            android:subtypeLocale="nb"
    />
    <subtype
            android:label="@string/subtype_generic"
            android:subtypeLocale="sv"
    />
</spell-checker>
+1 −0
Original line number Diff line number Diff line
@@ -113,6 +113,7 @@ public final class AndroidSpellCheckerService extends SpellCheckerService
        mLanguageToScript.put("nl", SCRIPT_LATIN);
        mLanguageToScript.put("pt", SCRIPT_LATIN);
        mLanguageToScript.put("sl", SCRIPT_LATIN);
        mLanguageToScript.put("sv", SCRIPT_LATIN);
        mLanguageToScript.put("ru", SCRIPT_CYRILLIC);
    }