[0.6 alpha5 win32] A bug in russian translation

You have tested TA3D, share your experience /
Vous avez testé TA3D, venez partager votre expérience
Post Reply
User avatar
Griswoldz
Posts: 33
Joined: Sun Jun 07, 2009 11:26 pm
Location: Poland
Contact:

[0.6 alpha5 win32] A bug in russian translation

Post by Griswoldz » Mon Jun 08, 2009 10:23 pm

I was just testing polish language pack so i thought it would be a nice idea to test others as well.
When i change the language on Russian and exit the game, it'll crash on next run while trying to display ru.ta3d.txt file.
Same thing happens with pl.ta3d.txt. You have to be very fast on skipping the intro to solve this problem by going to options and changing the language again :P. Perhaps fonts have something to do with it. Have any ideas :D ?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: [0.6 alpha5 win32] A bug in russian translation

Post by zuzuf » Mon Jun 08, 2009 11:10 pm

check the file is UTF-8 encoded, if not then the crash is normal. TA3D uses FTGL to render fonts through FTGL's UTF-8 API, text is manipulated either as ASCII-8 (because of OTA files) or UTF-8 (all TA3D specific files should use UTF-8).
=>;-D Penguin Powered

User avatar
Griswoldz
Posts: 33
Joined: Sun Jun 07, 2009 11:26 pm
Location: Poland
Contact:

Re: [0.6 alpha5 win32] A bug in russian translation

Post by Griswoldz » Mon Jun 08, 2009 11:34 pm

Yup that was the problem with these language packs. Thank you :D.

Note to other people who are translating:
if you use Notepad++ remember to do UTF-8(without BOM) coding instead of clear UTF-8 one.
Last edited by Griswoldz on Tue Jun 09, 2009 1:33 pm, edited 1 time in total.

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: [0.6 alpha5 win32] A bug in russian translation

Post by Balthazar » Tue Jun 09, 2009 6:19 am

Thanks for this, it`s fixed :P

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: [0.6 alpha5 win32] A bug in russian translation

Post by xpoy » Tue Jun 09, 2009 8:57 am

So, UTF-8 should write in Translations forum top topic, or new translater will also meet wrong

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests