Translation Language Support

Started by rbaleksandar, Mon 31/03/2008 23:15:51

Previous topic - Next topic

rbaleksandar

First I want to excuse if this topic doesn't belong here...
Here is my problem. I wanted to make a translation of a very short thing that I have made - like a demonstration...I've read in the manual, that for languages that have letters different from the common latin alphabet (English is a typical example), e.g. German, French etc., you have to use (import) TTF-Fonts. I want to make translation in German and in Bulgarian (Cyrilic - most of the Russian letters are the same as those in Bulgarian). I've been using the default game template. I have opened the Fonts-stuff (I think that the default fonts here in this template is the same as the one in Diskworld) and replaced the 3 fonts with Arial TTF-Font, which normally works fine in all Wordporcessing programs (Word, OpenOffice Writer etc, etc.). I've compiled the game. Everything went okay until I started it and the first "translated" message appeared on the screen. There were some strange symbols, which normally appear when the font that is used is incompatible with the current application (in this case - my demonstration).

I want to ask how to use Cyrilic font in my "game".

Thanks in advance and sorry again if I wrote this topic in the wrong forum.
I am a mighty pirate. Arrrrgh!

SimSaw

I've also encountered this issue. The problem is that AGS can not display "real" Cyrillic letters. You have to take a font where Non-Cyrillic standard chars (like A-Z, 0-9...) are "printed" as Cyrillic letters when typed onto keyboard.

rbaleksandar

Quote from: SimSaw on Tue 01/04/2008 09:55:57
I've also encountered this issue. The problem is that AGS can not display "real" Cyrillic letters. You have to take a font where Non-Cyrillic standard chars (like A-Z, 0-9...) are "printed" as Cyrillic letters when typed onto keyboard.
What do you mean? (I'm stupid and cannot understand ;D)
I am a mighty pirate. Arrrrgh!

Gilbert

AGS currently supports characters in the 0-255 ASCII code range of a TTF, if the code of a character is not within this range it won't be displayed correctly.

Currently a workaround is to substitute some slots which you won't use in the 0-255 range with custom characters in a TTF file.

SMF spam blocked by CleanTalk