when does it support unicode(UTF-8) character set?
axamdeep
Shanghai, China Join Date: 2010-07-02 Member: 72226Members, Squad Five Blue
<div class="IPBDescription">for localization</div>I try to edit some codes of text display in GUIScoreboard.lua, i translated some words from English to Chinese.
and here is the result
<img src="http://images.cjb.net/58ad3.jpg" border="0" class="linked-image" />
you can see, the words can't displayed correctly.
so I think the engine is not support unicode(UTF-8) character set.
or there is another better way to make localization?
or it premature to make any localization now?
and here is the result
<img src="http://images.cjb.net/58ad3.jpg" border="0" class="linked-image" />
you can see, the words can't displayed correctly.
so I think the engine is not support unicode(UTF-8) character set.
or there is another better way to make localization?
or it premature to make any localization now?
Comments
There's stuff that's still not in the file (like the scoreboard, for example), but it'll eventually be there.
Go to <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=114296" target="_blank">this</a> thread for the german translation of ns2. From how far I understand it you can just create a txt file with the translations that needs to satisfy a certain form. Check ns2 folder and copy/create one for the chinese version. I think the thread by Shilorius explains it quite well. This is good since you wont have to change the code itself and I also hope it fixes the problem with displaying the characters.
On a side note: Is there any chance that the chinese community will open a server in mainland china? I will still be in Beijing untill August and I desperatly miss a server with a decent ping. Australia 200 ms, anyone?! :(
I didn't realize there is a "gamestrings" folder so i translate it by the old way.
thanks all, now i know it.
Also: Chinese server, plx ;)
Oh, ok. "zhCN" would be the correct LCID code, though. :P UWE will want to automate the process some time.
run the game, type "option locale zhCN" (without the " of course) in the console.
here is the result
<img src="http://images.cjb.net/b1542.jpg" border="0" class="linked-image" />
<img src="http://images.cjb.net/e9f79.jpg" border="0" class="linked-image" />