-
Notifications
You must be signed in to change notification settings - Fork 723
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
Czech diacritics #731
Comments
Hi @vaclavvanik! It looks like this is a bug in this library with setting the To get around that for now, set your regex in $(function() {
$.keyboard.comboRegex = /([`\'~\^\"ao\u02c7\u00b4])([a-z])/gim;
$("#keyboard")
.keyboard({
layout: "ms-Czech",
autoAccept: true,
usePreview: false,
combos: {
// caron
ˇ: {
e: "\u011b",
E: "\u011a",
s: "\u0161",
S: "\u0160",
c: "\u010d",
C: "\u010c",
r: "\u0159",
R: "\u0158",
z: "\u017e",
Z: "\u017d",
d: "\u010f",
D: "\u010e",
t: "\u0165",
T: "\u0164",
n: "\u0148",
N: "\u0147"
},
// acute
"\u00b4": {
a: "\u00e1",
A: "\u00c1",
e: "\u00e9",
E: "\u00c9",
i: "\u00ed",
I: "\u00cd",
o: "\u00f3",
O: "\u00d3",
u: "\u00fa",
U: "\u00da",
y: "\u00fd",
Y: "\u00dd"
}
}
})
// activate the typing extension
.addTyping({
showTyping: true,
delay: 250
});
}); And it would be of great help to me and others if you would consider contributing a translated language file for Czech. I noticed I didn't have one in place, so in the next release I'll fix this bug and I'll include a |
Only if no language definition regex exists
New release is now available! You can now include the |
Hi @Mottie,
could you help me, why diacritics combo is not working? Default combos like
"a
turns intoä
. I am unable to setup czech conventions. Egcaron c
turning intoč
.My current setup is:
Thanks for your advise.
The text was updated successfully, but these errors were encountered: