virtual-keyboard icon indicating copy to clipboard operation
virtual-keyboard copied to clipboard

German and Korean (2-set & 3-set) keyboard

Open N3v1 opened this issue 1 year ago • 7 comments

#3 Parent issue

Hi @chavi362 i opened this issue to plan the German & Korean keyboard

I have 2 questions:

  • What do I have to do?
  • How should I add the letters?

N3v1 avatar Dec 03 '23 15:12 N3v1

Thank you so much!!! in VirtualKeyBoard.jsx you have to edit the placeholders array her:const [isEmojiActive, setIsEmojiActive] = useState(false); const placeholders = [ "הקלד כאן", "type here", "أكتب هنا", "друкуйте тут", "напечатайте здесь", ]; and add suitable placeholders for the new languege. then edit the switch in changeLanguage to support the new langueges. Also update in KeyBoardLanguage.jsx function handleChange and the select tag. Good Luck! Please star the repository!

chavi362 avatar Dec 03 '23 15:12 chavi362

1000px-KB_South_Korea

That's how a Korean keyboard (2-set) should look like: For example look at the 'Q' we have two possibilities for that key, either 'ㅂ' (p or b) or 'ㅃ' (pp) if you do a shift click. How should/can I implement this?

So a key should contain these elements:

  • English letter
  • Korean letter (-) Korean second letter (when shift is pressed)

cc: @chavi362

N3v1 avatar Dec 03 '23 15:12 N3v1

Thank you so much!!! in VirtualKeyBoard.jsx you have to edit the placeholders array her:const [isEmojiActive, setIsEmojiActive] = useState(false); const placeholders = [ "הקלד כאן", "type here", "أكتب هنا", "друкуйте тут", "напечатайте здесь", ]; and add suitable placeholders for the new languege. then edit the switch in changeLanguage to support the new langueges. Also update in KeyBoardLanguage.jsx function handleChange and the select tag. Good Luck! Please star the repository!

Ok thx I'll look into it

N3v1 avatar Dec 03 '23 15:12 N3v1

@chavi362 I'm almost done with the Korean keyboard

Do I also have to add the Korean letters into ~/src/Components/KeyBoard.jsx and create a new Array in KeyBoard(props)?

See #14

N3v1 avatar Dec 03 '23 16:12 N3v1

@N3v1 please note that now you have an option to add also a shift characters array! Now the task of adding language is more easier please look in the description in #3

chavi362 avatar Jan 01 '24 18:01 chavi362

@N3v1 are you still working? a good expalaintion of how to do that apper in #77

chavi362 avatar Jan 09 '24 08:01 chavi362

@N3v1 are you still working? a good expalaintion of how to do that apper in #77

Sorry but I got busy with my own projects and academic life - I'm planning to implement the german keyboard asap 🙂

Have a great day! NH

N3v1 avatar Oct 30 '24 20:10 N3v1