Can not input Chinese/Korean/Japanese in a game exported. East Asian user needs it. #40179

Closed
opened 2014-05-13 16:25:30 +02:00 by yq-ysy · 14 comments

System Information
Linux & Windows

Blender Version
Broken: 2.7
Worked: none

Short description of error
In BGE's edit mode, I can choice the Chinese font, and I can input Chinese (by use system input method). When I press P test the game, Chinese text show very well, but can not input Chinese, only English work. After I export h game, the game can show Chinese that already inputed, but can not input new Chinese.

Here is the post I ask at blenderartists. A Korean meet the same problem, too.
http://blenderartists.org/forum/showthread.php?336196-How-to-input-Chinese-in-a-game-Or-how-to-apply-the-system-input-method-in-game

BTW:
All East Asian character input by computer needs a system input method. Before Blender 2.64, neither edit TEXT object or Blender UI, can not input Chinese, too. After Blender 2.64, can input Chinese anywhere in Linux system, but Windows system still can not input Chinese. Can you let this feature carry over into the blender game player?

thank you very much.

Exact steps for others to reproduce the error

**System Information** Linux & Windows **Blender Version** Broken: 2.7 Worked: none **Short description of error** In BGE's edit mode, I can choice the Chinese font, and I can input Chinese (by use system input method). When I press P test the game, Chinese text show very well, but can not input Chinese, only English work. After I export h game, the game can show Chinese that already inputed, but can not input new Chinese. Here is the post I ask at blenderartists. A Korean meet the same problem, too. http://blenderartists.org/forum/showthread.php?336196-How-to-input-Chinese-in-a-game-Or-how-to-apply-the-system-input-method-in-game BTW: All East Asian character input by computer needs a system input method. Before Blender 2.64, neither edit TEXT object or Blender UI, can not input Chinese, too. After Blender 2.64, can input Chinese anywhere in Linux system, but Windows system still can not input Chinese. Can you let this feature carry over into the blender game player? thank you very much. **Exact steps for others to reproduce the error**
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @yq-ysy

Added subscriber: @yq-ysy

Added subscriber: @mdesilvey

Added subscriber: @mdesilvey

yq-ysy,

What are the steps to reproducing this error?

yq-ysy, What are the steps to reproducing this error?
Author

Require:
(1) It's in Linux System (e.g. Ubuntu Linux).
(2) You had a Chinese font file (e.g. wqy-microhei.ttc).
download it here:
https://code.google.com/p/chinesepuppylinux/downloads/detail?name=wqy-microhei.ttc
(3) You had already installed Chinese input method (e.g. ibus-pinyin).
You can install it by software center of Ubuntu Linux.
Maybe add Chinese Language Support in system settings will better and easier.

The normal steps of input Chinese in Blender:
(1) Add a TEXT object in 3D View Editor.
(2) Chioce a Chinese font in Properties Editor .
(3) Switch Edit mode in 3D View Editor,
(4) Ctrl Spacebar, you can call out the Chinese input method (e.g. ibus-pinyin).
(5) Press "hao" (not include quotation marks),
(6) You can see the list of Chinese word at the lower left corner of Blender.
(7) Press Spacebar or Choice 1, you can get the Chinese word "好" in TEXT object.
(8) Now, the TEXT object already became "TEXT好", it shows good.
Note:
Press Shift can switch English/Chinese mode;
Press Ctrl Spacebar again, can exit the Chinese input method.

The error steps in BGE or Exported game:
(9) in Logic Editor.
(10) Add Text Game Property, String Type, name is "Text".
(11) Add Sensor "Keyboard", choice All keys,
Log Toggle choice "Text"; Target choice "Text".
(12) Add Controller "And", keep all default value.
(13 )Add Actuator "Edit Object", keep all default value.
(14) Link them.
(15) Now, Press P test the game, you can input English character。
(16) Ctrl Spacebar, you can call out the Chinese input method.
(17) Press "hao" you can see the list of Chinese word, too.
(18) But, after press Spacebar or Choice 1, you get nothing.
Note:
You can put the Chinese font file at the root directory of .blend file, and choice it in Blender. after export the game, you have to copy this Chinese font file to the root directory of game, So, when running game, Chinese Text (already inputed by Edit mode) can show very well. But can not input Chinese when game running.

Require: (1) It's in Linux System (e.g. Ubuntu Linux). (2) You had a Chinese font file (e.g. wqy-microhei.ttc). download it here: https://code.google.com/p/chinesepuppylinux/downloads/detail?name=wqy-microhei.ttc (3) You had already installed Chinese input method (e.g. ibus-pinyin). You can install it by software center of Ubuntu Linux. Maybe add Chinese Language Support in system settings will better and easier. The normal steps of input Chinese in Blender: (1) Add a TEXT object in 3D View Editor. (2) Chioce a Chinese font in Properties Editor . (3) Switch Edit mode in 3D View Editor, (4) Ctrl Spacebar, you can call out the Chinese input method (e.g. ibus-pinyin). (5) Press "hao" (not include quotation marks), (6) You can see the list of Chinese word at the lower left corner of Blender. (7) Press Spacebar or Choice 1, you can get the Chinese word "好" in TEXT object. (8) Now, the TEXT object already became "TEXT好", it shows good. Note: Press Shift can switch English/Chinese mode; Press Ctrl Spacebar again, can exit the Chinese input method. The error steps in BGE or Exported game: (9) in Logic Editor. (10) Add Text Game Property, String Type, name is "Text". (11) Add Sensor "Keyboard", choice All keys, Log Toggle choice "Text"; Target choice "Text". (12) Add Controller "And", keep all default value. (13 )Add Actuator "Edit Object", keep all default value. (14) Link them. (15) Now, Press P test the game, you can input English character。 (16) Ctrl Spacebar, you can call out the Chinese input method. (17) Press "hao" you can see the list of Chinese word, too. (18) But, after press Spacebar or Choice 1, you get nothing. Note: You can put the Chinese font file at the root directory of .blend file, and choice it in Blender. after export the game, you have to copy this Chinese font file to the root directory of game, So, when running game, Chinese Text (already inputed by Edit mode) can show very well. But can not input Chinese when game running.

Added subscribers: @IRIEShinsuke, @kjym3

Added subscribers: @IRIEShinsuke, @kjym3

@IRIEShinsuke, can you confirm the reported problem? It seems related to the input method support in Blender for Linux (implemented by you iirc).

@IRIEShinsuke, can you confirm the reported problem? It seems related to the input method support in Blender for Linux (implemented by you iirc).
Shinsuke Irie self-assigned this 2014-05-26 13:00:39 +02:00
Member

Indeed I didn't consider BGE when I added support for X input method.

Will look into this...

Indeed I didn't consider BGE when I added support for X input method. Will look into this...
Member

Added subscriber: @brita

Added subscriber: @brita

Added subscriber: @tuxmaniac

Added subscriber: @tuxmaniac

I was trying with Hindi in BGE. I am using Blender 2.63 running Debian Wheezy. I have IBus for inputting Hindi. Even though it is enabled and works fine in other windows, it shows as english character. Another thing I found is Ctrl-V for pasting content not working.

I was trying with Hindi in BGE. I am using Blender 2.63 running Debian Wheezy. I have IBus for inputting Hindi. Even though it is enabled and works fine in other windows, it shows as english character. Another thing I found is Ctrl-V for pasting content not working.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

This should get fixed once D765 is merged. Closing this already for the case I forget to do so later on.

This should get fixed once [D765](https://archive.blender.org/developer/D765) is merged. Closing this already for the case I forget to do so later on.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#40179
No description provided.