Hello
I am studying input text.
I want to implement the ability to set my name in inputtext, but I want to enter Japanese in inputtext.
It seems that the IME is not working when typing characters in the input text.
Is it possible to convert characters with IME with inputText?
RaananW
November 18, 2020, 11:48am
2
That’s an interesting issue. We are handling user input different than an input field, but that prevents you from japanese input, as it seems.
pasting the text will work, but IME works differently:
We can investigate that! Want to create an issue on github? reference this conversation in the ticket.
RaananW
November 18, 2020, 2:06pm
3
An interesting hack (well, i find it interesting ) is to have a native input field visible somewhere in the scene. When the user clicks into the input, actually focus on this input fiels, use the native IME, and update the textfield on each keystroke. Not idle, but works:
https://playground.babylonjs.com/#UWS0TS#132
1 Like
sebavan
November 18, 2020, 4:20pm
4
I remember @Evgeni_Popov introduced Unicode support recently I wonder how much relevant it is to this subject ?
RaananW
November 18, 2020, 4:25pm
5
The issue here is not the support for the language, but support for native IME, which we don’t (as we only work with the keydown/keyup events)
2 Likes
RaananW:
ネイティブ入力フィールド
Thank you for suggesting one solution.
I think this is also good, but I really want to input Japanese with just input text.
I raised this issue on github.
opened 11:57PM - 18 Nov 20 UTC
enhancement
gui
help wanted
**Is your feature request related to a problem? Please describe.**
I would li… ke to use inputtext, but my expected native language is Japanese.
Japanese is already supported by Babylon.js,
IME cannot be used in inputtext because IME is not working.
**Describe the solution you'd like**
In the discussion, RaananA was able to input Japanese in a pseudo manner by using the native input field as one of the solutions.
However, I want to input Japanese using IME with inputtext without displaying the native input field.
**Discussion**
https://forum.babylonjs.com/t/i-want-to-input-japanese-with-input-text/15796
I’m a beginner, so if you have any problems with how to write github, please tell me what to correct.
Thank you.
1 Like