Tux Guitar

Problems

Subject Problem with localization



Author Message
HaritonAI
Post: Feb 3rd 2008 at 9:38 AM

I want to localize TuxGuitar in Russian, but I have a proble, when I create file "share/lang/messages_ru.properties" and change text in program instead russian text I see only "diamond formation". How can I change standard program font.
P.S. Excuse me for errors... ;)


Back to Top
 
Johnny
Post: Feb 3rd 2008 at 12:04 PM

You want to use cyrilic, I guess.

In that case you need to use UNICODE (UTF-8) character set. Important thing is that the _file_ encoding of messages_ru.properties has to be Unicode, too.
* make sure that your editor supports unicode file format
* make sure that you switched file to the correct format. :)

I recommend UltraEdit or NotePad++ for Windows platform, or Yudit on Linux.


Back to Top
 
Johnny
Post: Feb 13th 2008 at 12:16 PM

To correct myself: you should have usual ASCII file, but with unicode characters used (each written then as uXXXX, where XXXX is a number in a table).

If you wrote a Unicode file, then the easiest way to convert it is by using this pearl script (or send us to convert it)

http://tuxguitar.cvs.sourceforge.net/*checkout*/tuxguitar/TuxGuitar/share/lang/toutf.pl?revision=1.1


Back to Top