Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: budwiz on April 25, 2013, 07:56:09 AM
-
I have some issues with Asian language.
The issues are as follows:
1. When I make a language text file (using Localize) and paste the text in there (in asian) the text does not appear
in labels.
I tried to type in the keyboard stokes it takes to write the text instead,
and it worked, BUT what a major pain to do this process..Any better solutions?
2. The input field does not accept asian keyboard (using iPhone to test), so when I write something in the input field it
just gets deleted immediately (both in the NGUI input field and the input field on the iPhone keyboard).
What is happening and how can I fix it, so it works?
-
The font you're using must have asian characters in it. Unless you export them yourself, you won't have them. Default fonts that come with NGUI don't have them.
-
I have Asian font imported trough Font Maker.
When that said, I don't think any of these problems has anything to do with the font because:
For 1:
When I write "something in normal characters" using english keyboard like "just some text" in the language text file, the asian characters appear.
If I go to google translate and translate the text into asian, and then copy and paste the results into the text file, then it does NOT appear.
For 2:
When I use a english keyboard, the characters appear. To write something sensible I need to know which key on the keyboard to press (as I was using a asian keyboard) in order to get the right character, but it works.
If I however switch to asian keyboard, then suddenly nothing can get typed, meaning something gets typed BUT the input field is deleting everything I type (must be some check routine deleting whats typed).
-
http://www.tasharen.com/ngui/cjk.html <-- does this work?
-
No that did not work, nothing get typed.
-
Then I don't know what the issue is for you, because it works perfectly fine here with full IME support (ie: I type 'ni hao' and it converts it).
-
In MacOSX,http://www.tasharen.com/ngui/cjk.html did not work。
-
That's entirely possible. I think I built that web player before Unity even added IME support to OSX. I'm not sure if it was even added in the 3.X cycle. I vaguely remember there being some talk about fixing it in 4.X.