Hi
I have enabled all the languages in that site it is working cool, I had integrate telugu apple typewriter code in telugu.js file ,
all keys are working fine , except few keys ,
the non working keys are as follows
x [ ] ; '
code which i used ,
'\u200C ' : ' ',
'\u200Cq' : '',
'\u200Cw' : '\u0C40',
'\u200Ce' : '\u0C3E',
'\u200Cr' : '\u0C3F',
'\u200Ct' : '\u0C4A',
'\u200Cy' : '\u0C4B',
'\u200Cu' : '\u0C46',
'\u200Ci' : '\u0C41',
'\u200Co' : '\u0C47',
'\u200Cp' : '\u0C42',
'\u200C\\[' : '\u0C48',
'\u200C\\]' : '\u0C4C',
'\u200Ch' : '\u0C4D',
'\u200CH' : '\u0C4D\u200C',
'\u200Cg' : '\u0C02',
'\u200CG' : '\u0C03',
'\u200CW' : '\u0C43',
'\u200CE' : '\u0C44',
//Vows
'q' : '\u0C05',
'w' : '\u0C08',
'e' : '\u0C06',
'r' : '\u0C07',
't' : '\u0C12',
'y' : '\u0C13',
'u' : '\u0C0E',
'i' : '\u0C09',
'o' : '\u0C0F',
'p' : '\u0C0A',
'\\[': '\u0C10',
'\\]': '\u0C14',
//Cons
'Q' : '\u0C36\u200C',
'W' : '\u0C0B',
'E' : '\u0C60',
'R' : '\u0C19\u200C',
'T' : '\u0C1E\u200C',
'Y' : '\u0C15\u0C4D\u0C37\u200C',
'U' : '\u0C36\u0C4D\u0C30\u0C40\u200C',
'O' : '\u0C38\u0C4D\u0C24\u0C4D\u0C30',
'P' : '\u0C37\u0C4D\u0C1F\u0C4D\u0C30',
'a' : '\u0C32\u200C',
's' : '\u0C24\u200C',
'd' : '\u0C26\u200C',
'f' : '\u0C35\u200C',
'g' : '\u0C02',
'h' : '\u0C4D',
'j' : '\u0C15\u200C',
'k' : '\u0C30\u200C',
'l' : '\u0C28\u200C',
'\\;' : '\u0C2A\u200C',
'\\\'' : '\u0C38\u200C',
'A' : '\u0C33\u200C',
'S' : '\u0C25\u200C',
'D' : '\u0C27\u200C',
'F' : '\u0C36\u200C',
'G' : '\u0C03',
'H' : '\u0C4D\u200C',
'J' : '\u0C16\u200C',
'K' : '\u0C31\u200C',
'L' : '\u0C23\u200C',
'\\:' : '\u0C2B\u200C',
'"' : '\u0C37\u200C',
'z' : '\u0C1F\u200C',
'x' : '\u0C17\u200C',
'c' : '\u0C21\u200C',
'v' : '\u0C2C\u200C',
'b' : '\u0C2E\u200C',
'n' : '\u0C2F\u200C',
'm' : '\u0C1A\u200C',
'/' : '\u0C1C\u200C',
'Z' : '\u0C20\u200C',
'X' : '\u0C18\u200C',
'C' : '\u0C22\u200C',
'V' : '\u0C2D\u200C',
'B' : '\u0C39\u200C',
'N' : '\u0C1C\u0C4D\u0C1E\u200C',
'M' : '\u0C1B\u200C',
'\\?' : '\u0C1D\u200C',
'I' : '/',
'\\{' : ':',
'\\}' : '!',
'<' : ',',
'>' : '?',
'~' : '\u200C',
thanks in advance
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | telugu.js_.txt | 3.35 KB | lohithsunchu |
| Apple-keyboard.png | 71.94 KB | lohithsunchu |
Comments
Comment #1
lohithsunchu commentedComment #2
lohithsunchu commentedComment #3
lohithsunchu commentedComment #4
vinoth.3v commentedCool, I will add it to the library,
Thank you very much :)
Comment #5
lohithsunchu commentedAny improvements in telugu.js , vinoth.3v.
Comment #6
vinoth.3v commentedCommitted :)
Comment #7
lohithsunchu commentedThank you Vinoth.3v. I had tested it, the following keys are not working,
x [ ] ; '
Comment #8
vinoth.3v commentedComment #9
vinoth.3v commentedFixed,
Thank you for reporting it. :)
http://drupalcode.org/project/indic_script.git/commitdiff/86638d3
Comment #10
lohithsunchu commentedThank you vinoth.3v, #9 is working cool.
I had twiked the kanni.js , added the this at line 619 ,
Kanni.charExistsInMap = function(char, lang) {
config = this.langConfig(lang);
if (!config) {
return false;
}
var lang_map = config.method.charmap;
for(c in lang_map) {
cc= c.charAt(c.length -1 );//added to work script
if (cc == char || lang_map[c] == char) {
return true;
}
if (lang_map[c].toString().length > 1) {
for(c1 in lang_map[c].toString()) {
if (c1 == char) {
return true;
}
}
}
if (c.length > 1) {
for(c1 in c) {
if (c1 == char) {
return true;
}
}
}
}
return false;
};
added this , it is working cool.
cc= c.charAt(c.length -1 );//added to work script
Comment #12
lohithsunchu commentedHi Vinoth,
I had downloaded "Indic Script" module, but i can't find "Telugu apple typewritter keyboard" in it .
According to your above comment you said that it has been added. Can you please help us in adding it to the module.
Thanks in advance.
Regards,
lohith
Comment #13
lohithsunchu commentedThanks vinoth , i had noticed that it is added in "indic_script 7.x-3.x-dev".
Hurrah now we can use it directly.
Comment #15
anish.a commented