About other languages support, with special chars (Russian)
Moderator: OpenTTD Developers
About other languages support, with special chars (Russian)
I think too much about translating OpenTTD to native Russian language. I decide to redraw fonts in trg1r.grf, so now it supports English letters and Russian. So now for me ease translates all description in game on full native Russian language.
For future I suggest: May be you moves all fonts in other GRF file (only fonts will be present in it). So if some body wants to translate to language witch have specific char set, so he must redraw fonts, and pack new GRF and make new LNG file witch use such char set. After he makes packet witch contains GRF with fonts and LNG with strings. Also procedure in game must be present for installing such packets (not in hands user must install such language packets). Or may be much easier? Change format of LNG file, for some string in witch must be present with witch file GRF (with fonts) it must be used. So when user select such language, game load new GRF font file and draw all string using fonts from it. What you can say about my idea?
P.S. Then I finish translating to Russian I will sent to developer group all need files. Now I have completed fonts (all 3 fonts trg1r.grf). I can send this file. I complete on 75% translating of all string present in 0.4.0.1., so if you want to look on TXT and LNG file. I can sent it.
For future I suggest: May be you moves all fonts in other GRF file (only fonts will be present in it). So if some body wants to translate to language witch have specific char set, so he must redraw fonts, and pack new GRF and make new LNG file witch use such char set. After he makes packet witch contains GRF with fonts and LNG with strings. Also procedure in game must be present for installing such packets (not in hands user must install such language packets). Or may be much easier? Change format of LNG file, for some string in witch must be present with witch file GRF (with fonts) it must be used. So when user select such language, game load new GRF font file and draw all string using fonts from it. What you can say about my idea?
P.S. Then I finish translating to Russian I will sent to developer group all need files. Now I have completed fonts (all 3 fonts trg1r.grf). I can send this file. I complete on 75% translating of all string present in 0.4.0.1., so if you want to look on TXT and LNG file. I can sent it.
I have trouble, with fonts. All is good but with Large font (in news), all others is work perfectly. So I have some troubles with next chars in Large font, hex code of it is (0xC6, 0xD8, 0xE6, 0xF8) All this chars draw from old font (Where game find it I can?t understand), I have cheeked 5 times (unpack my new GRF) and see that font is good all char that a have redraw is present. Why such happened only with such chars and only in Large font, may be such chars are remapped, but where? Also can say that if I have change (xrel yrel in NFO file of GRF before packing) and these values do not influence in any way drawing of these symbols. From this it is possible to draw a conclusion that they precisely somewhere are replaced, but where? I have checked up all GRF files and have not found anywhere images of fonts. Someone can help me with this problem. Translation is ready everywhere, only this Large font detains all.
-
- Route Supervisor
- Posts: 389
- Joined: 04 Feb 2004 23:24
- Contact:
Who is online
Users browsing this forum: No registered users and 18 guests