Sign in to follow this  
Headkaze

Need list of glyphs for language translations

Recommended Posts

I am about to translate a game I'm writing to various languages.

ie. English, French, German, Italian, Spanish, Japanese, Korean and Chinese Simplified / Traditional.

I am using [url="http://glyphdesigner.71squared.com/"]Glyph Designer[/url] to create the bitmap font sheets I need for my text rendering.

I need to create special font sheets for the various different languages. So I need to have a list of the glyphs for each language I am adding support for.

For example, my English font sheet uses: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"!`?'.,;[img]http://public.gamedev.net//public/style_emoticons/default/sad.png[/img])[]{}<>|/@\^$-%+=#_&~*

Where can I find lists of these glyphs? Has someone already got them listed somewhere?

EDIT: Sorry can a mod please move this to a more appropriate forum.

Share this post


Link to post
Share on other sites
This forum is fine. A unicode font is probably what you need; you can read up on the concept at wikipedia: [url="http://en.wikipedia.org/wiki/Unicode"]http://en.wikipedia.org/wiki/Unicode[/url]

Share this post


Link to post
Share on other sites
The problem is I'm developing for iOS so there are memory contraints. I don't think it's feasible to have an entire Unicode font in memory at the sizes I need.

So I really would like to have separate texture sheets for each langauge. Also I will be using UTF-8 rather than a UNICODE format so I can maintain the use of std::string which I have without needing to change everything to std::wstring.

Here is what I have so far. I don't even have a clue if I'm on the right track to be honest.

List of Chinese Radicals ([url="http://www.yellowbridge.com/chinese/radicals.php"]http://www.yellowbri...se/radicals.php[/url])

??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Korean Alphabet Chart ([url="http://www.korean-arts.com/about/korean%20alphabet.htm"]http://www.korean-ar...an alphabet.htm[/url])

????????????????????????????????????????

Japanese Hiragana Syllables (Alphabet) ([url="http://www.linguanaut.com/japanese_alphabet.htm"]http://www.linguanau...se_alphabet.htm[/url])

????????????????????????????????????????????????

Share this post


Link to post
Share on other sites
There are just under 400,000 code points assigned to Han characters in Unicode. If you're developing for iOS, sticking a bitmap font containing all of that into memory is going to be worse than using a True Type Font. In comparison, the Arial Unicode MS font on my computer right now takes up 22.1 MB and the Sim Sun font, which is more or less dedicated to Asian code points, is about 13.1 MB. For more details you can consult [url=http://unicode.org/versions/Unicode5.0.0/ch12.pdf]Chapter 12 of the Unicode standard[/url].

Share this post


Link to post
Share on other sites
From what I know, Chinese is a tricky one. You need more than just the radicals. A word may combine a set of radicals, but not in a consistent way as you might assume. They can be combined side-by-side, above-and-below, inside-outside, or possibly others ways. Also when combined they may be squished or slightly redesigned to fit (or just because). That would be why Unicode allocates 400,000 symbols, to account for the combinations. You could not pay me enough to design a Chinese font set. I wonder if one could take an existing Chinese font and stylise it, e.g. programmatically change the width and taper of the strokes that make it up?

Share this post


Link to post
Share on other sites
I'm assuming that you're pretty well versed in the linguistical culture of the language you're translating to? or maybe you're just translating commands and other simple things. Edited by DrMadolite

Share this post


Link to post
Share on other sites
[quote name='Headkaze' timestamp='1335495779' post='4935275']So I need to have a list of the glyphs for each language I am adding support for[/quote]Usually you generate this list by iterating through all of your translated documents, and collecting each unique glyph that appears. This way you only build bitmaps for the glyphs actually used, instead of all [i]how-every-many-thousand[/i] of them. Edited by Hodgman

Share this post


Link to post
Share on other sites
Do you actually need all the chinese character-like-things, or would it be enough to just have the ones you need for translating the game? That is, do you need to allow the players to chat in chinese?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this