Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard layouts for Kazakh (Arabic) #2964

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 112 additions & 0 deletions experimental/k/kazakh_arabic/source/kazakh_arabic.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<?xml version="1.0" encoding="UTF-8"?>
<keyboard3 xmlns="https://schemas.unicode.org/cldr/46/keyboard3" locale="kk-Arab" conformsTo="46">
<!-- Kazakhs living now in China, Pakistan, Afghanistan, Iran
and other countries of the Middle East use the Arabic script.-->
<locales>
<locale id="kk" />
</locales>
<version number="1.0.0" />
<info name="Kazakh Arabic" author="Murat Karibay" indicator="kk" layout="QWERTY" />

<keys>
<import base="cldr" path="46/keys-Zyyy-punctuation.xml" />
<import base="cldr" path="46/keys-Zyyy-currency.xml" />

<!-- switch keys -->
<key id="base" layerId="base" />
<key id="numeric" layerId="numeric" />
<key id="shift" layerId="shift" />
<key id="symbol" layerId="symbol" />

<!-- basic letters -->
<key id="a" output="ھ" />
<key id="b" output="ب" />
<key id="c" output="ع" />
<key id="d" output="د" />
<key id="e" output="ء" />
<key id="f" output="ا" />
<key id="g" output="ە" />
<key id="h" output="ى" />
<key id="i" output="ڭ" />
<key id="j" output="ق" />
<key id="k" output="ك" />
<key id="l" output="ل" />
<key id="m" output="م" />
<key id="n" output="ن" />
<key id="o" output="و" />
<key id="p" output="پ" />
<key id="q" output="چ" />
<key id="r" output="ر" />
<key id="s" output="س" />
<key id="t" output="ت" />
<key id="u" output="ۇ" />
<key id="v" output="ۆ" />
<key id="w" output="ۋ" />
<key id="x" output="ش" />
<key id="y" output="ي" />
<key id="z" output="ز" />

<!-- additional letters -->
<key id="f1" output="ف" />
<key id="g1" output="گ" />
<key id="h1" output="ح" />
<key id="j1" output="ج" />
<key id="k1" output="ۆ" />
<key id="l1" output="لا" />

<!-- punctuations -->
<key id="arabic-comma" output="،" />
<key id="arabic-question" output="؟" />
<key id="arabic-semicolon" output="؛" />
<key id="close-jaqsha" output="«" />
<key id="open-jaqsha" output="»" />

</keys>
<layers formId="us">
<layer modifiers="none">
<row keys="1 2 3 4 5 6 7 8 9 0 hyphen equal" />
<row keys="q w e r t y u i o p close-square open-square backslash" />
<row keys="a s d f g h j k l arabic-semicolon apos" />
<row keys="z x c v b n m arabic-comma period slash" />
<row keys="space" />
</layer>
<layer modifiers="shift">
<row keys="bang at hash dollar percent caret amp asterisk close-paren open-paren underscore plus" />
<row keys="q w e r t y u i o p close-jaqsha open-jaqsha pipe" />
<row keys="a s d f1 g1 h1 j1 k l1 colon double-quote" />
<row keys="z x c v b n m close-angle open-angel arabic-question" />
<row keys="space" />
</layer>
</layers>

<layers formId="touch" minDeviceWidth="150">
<!-- optional attribute for min physical device size -->
<layer id="base">
<row keys="q w e r t y u i o p" />
<row keys="a s d f g h j k l" />
<row keys="shift z x c v b n m" />
<row keys="numeric extra space enter" />
</layer>

<layer id="shift">
<row keys="q w e r t y u i o p" />
<row keys="a s d f1 g1 h1 j1 k l1" />
<row keys="base z x c v b n m" />
<row keys="numeric extra space enter" />
</layer>

<layer id="numeric">
<row keys="1 2 3 4 5 6 7 8 9 0" />
<row keys="hyphen slash colon arabic-semicolon open-paren close-paren yen amp at double-quote" />
<row keys="symbol period arabic-comma arabic-question bang double-quote" />
<row keys="base extra space enter" />
</layer>

<layer id="symbol">
<row keys="open-square close-square open-curly close-curly hash percent caret asterisk plus equal" />
<row keys="underscore backslash pipe tilde close-jaqsha open-jaqsha euro pound dollar bullet" />
<row keys="numeric period comma question bang double-quote" />
<row keys="base extra space enter" />
</layer>
</layers>
</keyboard3>
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<keyboard3 xmlns="https://schemas.unicode.org/cldr/46/keyboard3" locale="kk-Arab" conformsTo="46">
<!-- Kazakhs living now in China, Pakistan, Afghanistan, Iran
and other countries of the Middle East use the Arabic script.-->
<locales>
<locale id="kk" />
</locales>
<version number="1.0.0" />
<info name="Kazakh Arabic (International)" author="Murat Karibay" indicator="kk" layout="QWERTY" />

<keys>
<import base="cldr" path="46/keys-Zyyy-punctuation.xml" />
<import base="cldr" path="46/keys-Zyyy-currency.xml" />

<!-- switch keys -->
<key id="base" layerId="base" />
<key id="numeric" layerId="numeric" />
<key id="shift" layerId="shift" />
<key id="symbol" layerId="symbol" />

<!-- basic letters -->
<key id="a" output="ا" />
<key id="b" output="ب" />
<key id="c" output="ع" />
<key id="d" output="د" />
<key id="e" output="ە" />
<key id="f" output="ء" />
<key id="g" output="گ" />
<key id="h" output="ح" />
<key id="i" output="ى" />
<key id="j" output="ج" />
<key id="k" output="ك" />
<key id="l" output="ل" />
<key id="m" output="م" />
<key id="n" output="ن" />
<key id="o" output="و" />
<key id="p" output="پ" />
<key id="q" output="ق" />
<key id="r" output="ر" />
<key id="s" output="س" />
<key id="t" output="ت" />
<key id="u" output="ۇ" />
<key id="v" output="ڭ" />
<key id="w" output="ۋ" />
<key id="x" output="ش" />
<key id="y" output="ي" />
<key id="z" output="ز" />

<!-- letters for loanwords -->
<key id="ch" output="چ" />
<key id="fi" output="ف" />
<key id="ha" output="ھ" />
<key id="vi" output="ۆ" />

<!-- punctuations -->
<key id="arabic-comma" output="،" />
<key id="arabic-question" output="؟" />
<key id="arabic-semicolon" output="؛" />
<key id="close-jaqsha" output="«" />
<key id="open-jaqsha" output="»" />

</keys>
<layers formId="us">
<layer modifiers="none">
<row keys="1 2 3 4 5 6 7 8 9 0 hyphen equal" />
<row keys="q w e r t y u i o p close-square open-square backslash" />
<row keys="a s d f g h j k l arabic-semicolon apos" />
<row keys="z x c v b n m arabic-comma period slash" />
<row keys="space" />
</layer>
<layer modifiers="shift">
<row keys="bang at hash dollar percent caret amp asterisk close-paren open-paren underscore plus" />
<row keys="q w e r t y u i o p close-jaqsha open-jaqsha pipe" />
<row keys="a s d fi g ha j k l colon double-quote" />
<row keys="z x ch vi b n m close-angle open-angel arabic-question" />
<row keys="space" />
</layer>
</layers>

<layers formId="touch" minDeviceWidth="150">
<!-- optional attribute for min physical device size -->
<layer id="base">
<row keys="q w e r t y u i o p" />
<row keys="a s d f g h j k l" />
<row keys="shift z x c v b n m" />
<row keys="numeric extra space enter" />
</layer>

<layer id="shift">
<row keys="q w e r t y u i o p" />
<row keys="a s d fi g ha j k l" />
<row keys="base z x ch vi b n m" />
<row keys="numeric extra space enter" />
</layer>

<layer id="numeric">
<row keys="1 2 3 4 5 6 7 8 9 0" />
<row keys="hyphen slash colon arabic-semicolon open-paren close-paren yen amp at double-quote" />
<row keys="symbol period arabic-comma arabic-question bang double-quote" />
<row keys="base extra space enter" />
</layer>

<layer id="symbol">
<row keys="open-square close-square open-curly close-curly hash percent caret asterisk plus equal" />
<row keys="underscore backslash pipe tilde close-jaqsha open-jaqsha euro pound dollar bullet" />
<row keys="numeric period comma question bang double-quote" />
<row keys="base extra space enter" />
</layer>
</layers>
</keyboard3>