mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-21 14:49:10 +00:00
Add Hindi Phonetic layout (#1278)
This commit is contained in:
parent
bf37a7f947
commit
de5968d04a
4 changed files with 568 additions and 1 deletions
554
app/src/main/assets/layouts/hindi_phonetic.json
Normal file
554
app/src/main/assets/layouts/hindi_phonetic.json
Normal file
|
@ -0,0 +1,554 @@
|
||||||
|
[
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ठ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ट"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ढ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ड",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ड़"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ढ़"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ै"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "े",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ए"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ऍ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ऐ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2374,
|
||||||
|
"label": " ॆ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2389,
|
||||||
|
"label": " ॕ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2382,
|
||||||
|
"label": " ॎ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ऎ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ृ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "र",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ऋ"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ॠ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॄ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ऱ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "थ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "त",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "त्र"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "य़"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "य",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ॺ"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ू"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ु",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "उ"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ऊ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॷ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2390,
|
||||||
|
"label": " ॖ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॶ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2391,
|
||||||
|
"label": " ॗ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ी"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ि",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "इ"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ई"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ौ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ो",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ओ"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "औ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ऑ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2383,
|
||||||
|
"label": " ॏ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॵ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॐ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॉ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॳ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॴ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2362,
|
||||||
|
"label": " ऺ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2363,
|
||||||
|
"label": " ऻ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ऒ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": 2378,
|
||||||
|
"label": " ॊ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "फ़"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "प"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "अ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ा",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "आ"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ॅ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॲ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ऄ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "श"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "स",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "श्र"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ष"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ध"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "द",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ड़"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ॾ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ढ़"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॸ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"code": 2364,
|
||||||
|
"label": " ़"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "फ",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "फ़"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "घ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ग",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ग़"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ॻ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ः"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ह"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "झ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ज",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ज़"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ॼ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॹ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ख"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "क",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "क़"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ख़"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ळ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ल",
|
||||||
|
"popup": {
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ऴ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॣ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ऌ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॡ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ॢ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ज़",
|
||||||
|
"labelFlags": 128
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ज्ञ",
|
||||||
|
"labelFlags": 128
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ष"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "क्ष",
|
||||||
|
"labelFlags": 128
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "छ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "च",
|
||||||
|
"popup": {
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"$": "auto_text_key",
|
||||||
|
"code": 2385,
|
||||||
|
"label": " ॑"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "auto_text_key",
|
||||||
|
"code": 2386,
|
||||||
|
"label": " ॒"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "्"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "व",
|
||||||
|
"popup": {
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"$": "auto_text_key",
|
||||||
|
"code": 2387,
|
||||||
|
"label": " ॓"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "auto_text_key",
|
||||||
|
"code": 2388,
|
||||||
|
"label": " ॔"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "भ"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "ब",
|
||||||
|
"popup": {
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ॿ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ऽ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "॰"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ण"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "न",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ङ"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ऩ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ञ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$": "shift_state_selector",
|
||||||
|
"manualOrLocked": {
|
||||||
|
"label": "ं"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"label": "म",
|
||||||
|
"popup": {
|
||||||
|
"main": {
|
||||||
|
"label": "ँ"
|
||||||
|
},
|
||||||
|
"relevant": [
|
||||||
|
{
|
||||||
|
"label": "ऀ"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
|
@ -37,7 +37,7 @@
|
||||||
ल ऌ ॡ
|
ल ऌ ॡ
|
||||||
य य़
|
य य़
|
||||||
़ ॽ ॰ ऽ
|
़ ॽ ॰ ऽ
|
||||||
punctuation !autoColumnOrder!9 \, . ? ! # ) ( / ; ' @ : - " + \% &
|
punctuation !autoColumnOrder!9 \, . ॥ ? ! !icon/zwnj_key| !icon/zwj_key| # @ ( ) / ; : - + \%
|
||||||
औ ौ
|
औ ौ
|
||||||
ऐ ै
|
ऐ ै
|
||||||
आ ा
|
आ ा
|
||||||
|
|
|
@ -362,6 +362,9 @@
|
||||||
<!-- Description for "LANGUAGE_NAME" (Compact) keyboard subtype [CHAR LIMIT=25]
|
<!-- Description for "LANGUAGE_NAME" (Compact) keyboard subtype [CHAR LIMIT=25]
|
||||||
(Compact) can be an abbreviation to fit in the CHAR LIMIT. -->
|
(Compact) can be an abbreviation to fit in the CHAR LIMIT. -->
|
||||||
<string name="subtype_generic_compact"><xliff:g id="LANGUAGE_NAME" example="Hindi">%s</xliff:g> (Compact)</string>
|
<string name="subtype_generic_compact"><xliff:g id="LANGUAGE_NAME" example="Hindi">%s</xliff:g> (Compact)</string>
|
||||||
|
<!-- Description for "LANGUAGE_NAME" (Phonetic) keyboard subtype [CHAR LIMIT=25]
|
||||||
|
(Phonetic) can be an abbreviation to fit in the CHAR LIMIT. -->
|
||||||
|
<string name="subtype_generic_phonetic"><xliff:g id="LANGUAGE_NAME" example="Hindi">%s</xliff:g> (Phonetic)</string>
|
||||||
<!-- Description for "LANGUAGE_NAME" (Sebeolsik 390) keyboard subtype [CHAR LIMIT=25]
|
<!-- Description for "LANGUAGE_NAME" (Sebeolsik 390) keyboard subtype [CHAR LIMIT=25]
|
||||||
(Sebeolsik 390) can be an abbreviation to fit in the CHAR LIMIT. -->
|
(Sebeolsik 390) can be an abbreviation to fit in the CHAR LIMIT. -->
|
||||||
<string name="subtype_generic_sebeolsik_390"><xliff:g id="LANGUAGE_NAME" example="Korean">%s</xliff:g> (Sebeolsik 390)</string>
|
<string name="subtype_generic_sebeolsik_390"><xliff:g id="LANGUAGE_NAME" example="Korean">%s</xliff:g> (Sebeolsik 390)</string>
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
gu: Gujarati/gujarati
|
gu: Gujarati/gujarati
|
||||||
hi: Hindi/hindi
|
hi: Hindi/hindi
|
||||||
hi: Hindi/hindi_compact
|
hi: Hindi/hindi_compact
|
||||||
|
hi: Hindi/hindi_phonetic
|
||||||
hi_ZZ: Hinglish/qwerty # This is a preliminary keyboard layout.
|
hi_ZZ: Hinglish/qwerty # This is a preliminary keyboard layout.
|
||||||
hr: Croatian/qwertz
|
hr: Croatian/qwertz
|
||||||
hu: Hungarian/qwertz
|
hu: Hungarian/qwertz
|
||||||
|
@ -471,6 +472,15 @@
|
||||||
android:imeSubtypeMode="keyboard"
|
android:imeSubtypeMode="keyboard"
|
||||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=hindi_compact,NoShiftKey,EmojiCapable"
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=hindi_compact,NoShiftKey,EmojiCapable"
|
||||||
android:isAsciiCapable="false"
|
android:isAsciiCapable="false"
|
||||||
|
/>
|
||||||
|
<subtype android:icon="@drawable/ic_ime_switcher"
|
||||||
|
android:label="@string/subtype_generic_phonetic"
|
||||||
|
android:subtypeId="0xe49c89a2"
|
||||||
|
android:imeSubtypeLocale="hi"
|
||||||
|
android:languageTag="hi"
|
||||||
|
android:imeSubtypeMode="keyboard"
|
||||||
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=hindi_phonetic,EmojiCapable"
|
||||||
|
android:isAsciiCapable="false"
|
||||||
/>
|
/>
|
||||||
<!-- This Hinglish keyboard is a preliminary layout.
|
<!-- This Hinglish keyboard is a preliminary layout.
|
||||||
This isn't based on the final specification.
|
This isn't based on the final specification.
|
||||||
|
|
Loading…
Add table
Reference in a new issue