Mottie / Keyboard

Virtual Keyboard using jQuery ~
http://mottie.github.io/Keyboard/
Other
1.78k stars 723 forks source link

How can I use utf-8 characters like turkish characters ? #776

Open mithathan opened 4 years ago

mithathan commented 4 years ago

I need extra characters like "ç, ğ, ü, ı, İ, ö, ş" on keyboard for Turkish language.

Mottie commented 4 years ago

Hi @mithathan!

You can add a custom layout that includes those characters, or you can use any of the provided Turkish F & Turkish Q layouts:

Also please make sure to load & use the language file. This file could use some translation help if you have time. 🙏 Thanks!

mithathan commented 4 years ago

Thanks.

varliali commented 3 years ago

Thanks for maintaining this plugin. Below find my Turkish translation.

// Keyboard Language // please update this section to match this language and email me with corrections! // tr = ISO 639-1 code for Turkish // *** jQuery.keyboard.language.tr = { language: 'T\u00fcrk\u00e7e (Turkish)', display : { 'a' : '\u2714:Onayla (De\u011fi\u015ftir+Giri\u015f)', // check mark - same action as accept 'accept' : 'Onayla:Onayla (De\u011fi\u015ftir+Giri\u015f)', 'alt' : 'Alt:Alternatif', 'b' : '\u2190:Geri Tu\u015fu', // Left arrow (same as ←) 'bksp' : 'Geri:Geri Tu\u015fu', 'c' : '\u2716:\u0130ptal (Esc)', // big X, close - same action as cancel 'cancel' : '\u0130ptal:\u0130ptal (Esc)', 'clear' : 'C:Temizle', // clear num pad 'combo' : '\u00f6:Birle\u015fik Tu\u015flar\u0131 Kapat', 'dec' : ',:Ondal\u0131k', // decimal point for num pad (optional), change '.' to ',' for European format 'e' : '\u21b5:Giri\u015f', // down, then left arrow - enter symbol 'enter' : 'Giri\u015f:Giri\u015f', 'lock' : '\u21ea Kilit:B\u00fcy\u00fck Harf Kilidi', // caps lock 's' : '\u21e7:De\u011fi\u015ftir', // thick hollow up arrow 'shift' : 'De\u011fi\u015ftir:De\u011fi\u015ftir', 'sign' : '\u00b1:\u0130\u015faret De\u011fi\u015ftir', // +/- sign for num pad 'space' : ' :Bo\u015fluk', 't' : '\u21e5:Sekme', // right arrow to bar (used since this virtual keyboard works with one directional tabs) 'tab' : '\u21e5 Sekme:Sekme' // \u21b9 is the true tab symbol (left & right arrows) }, // Message added to the key title while hovering, if the mousewheel plugin exists wheelMessage : 'Di\u011fer tu\u015flar\u0131 g\u00f6rmek i\u00e7in fare tekerle\u011fini kullan\u0131n', };