Code Monkey home page Code Monkey logo

Comments (6)

chavi362 avatar chavi362 commented on May 30, 2024 1

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!

from virtual-keyboard.

N3v1 avatar N3v1 commented on May 30, 2024

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

from virtual-keyboard.

N3v1 avatar N3v1 commented on May 30, 2024

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

from virtual-keyboard.

N3v1 avatar N3v1 commented on May 30, 2024

@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

from virtual-keyboard.

chavi362 avatar chavi362 commented on May 30, 2024

@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

from virtual-keyboard.

chavi362 avatar chavi362 commented on May 30, 2024

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

from virtual-keyboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.