About Language [SOLVED]

About Language [SOLVED]

Postby Kuzucuk » 20 Jul 2012, 22:25

Hi everybody, there is a problem about language translating

all Turkish special characters inside play.ttf
ğ, Ğ, ü, Ü ,ı, ş, Ş, ç, Ç, ö,Ö

and play1 and play2.png files has these character inside

but when i try to translate i cant see Turkish characters
sample:
"quit" i translated like "Çıkış" and this is result "k"

Image

Thanks i wish someone can help me:)
Last edited by Kuzucuk on 21 Jul 2012, 14:03, edited 1 time in total.
Kuzucuk
 
Posts: 9
Joined: 20 Jul 2012, 22:10

Re: About Language

Postby idkblaze » 21 Jul 2012, 02:20

Well i am complete noob to this stuff but it would be better if you could upload your play.ttf and your play1.png and play2.png...!
idkblaze
 
Posts: 17
Joined: 25 Apr 2012, 23:39

Re: About Language

Postby qreeves » 21 Jul 2012, 02:57

idkblaze {l Wrote}:Well i am complete noob to this stuff but it would be better if you could upload your play.ttf and your play1.png and play2.png...!

That's the font that is bundled with the game.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: About Language

Postby sireus » 21 Jul 2012, 11:17

Make sure menus.cfg is UTF-8 encoded. If it's in some local encoding (ISO 8859-9 or whatever), it won't work. Otherwise, it works for me: http://img4.imageshack.us/img4/7130/retrq.png
sireus
 
Posts: 109
Joined: 24 May 2011, 20:10

Re: About Language

Postby Kuzucuk » 21 Jul 2012, 12:30

sireus {l Wrote}:Make sure menus.cfg is UTF-8 encoded. If it's in some local encoding (ISO 8859-9 or whatever), it won't work. Otherwise, it works for me: http://img4.imageshack.us/img4/7130/retrq.png

there isn't anything about utf-8 or ISO. encoding inside menus.cfg
where is it? :/
Kuzucuk
 
Posts: 9
Joined: 20 Jul 2012, 22:10

Re: About Language

Postby TheLastProject » 21 Jul 2012, 13:38

Kuzucuk {l Wrote}:
sireus {l Wrote}:Make sure menus.cfg is UTF-8 encoded. If it's in some local encoding (ISO 8859-9 or whatever), it won't work. Otherwise, it works for me: http://img4.imageshack.us/img4/7130/retrq.png

there isn't anything about utf-8 or ISO. encoding inside menus.cfg
where is it? :/

As far as I know, encoding isn't based on a word or so in the file, you need to look at your text editor to see if it's saving it properly.
Hats, Afros, wings and raptor feet. This game is showing progress indeed.
TheLastProject
 
Posts: 432
Joined: 06 Nov 2011, 17:04

Re: About Language

Postby Kuzucuk » 21 Jul 2012, 13:55

TheLastProject {l Wrote}:
Kuzucuk {l Wrote}:
sireus {l Wrote}:Make sure menus.cfg is UTF-8 encoded. If it's in some local encoding (ISO 8859-9 or whatever), it won't work. Otherwise, it works for me: http://img4.imageshack.us/img4/7130/retrq.png

there isn't anything about utf-8 or ISO. encoding inside menus.cfg
where is it? :/

As far as I know, encoding isn't based on a word or so in the file, you need to look at your text editor to see if it's saving it properly.


sure... i was guest that and i installed office 2010 now:)
Kuzucuk
 
Posts: 9
Joined: 20 Jul 2012, 22:10

Re: About Language

Postby Kuzucuk » 21 Jul 2012, 14:02

I SOLVED PROBLEM! THANKS ALL REALLY HELPED ME!! :)

IF SOMEONE HAS SAME PROBLEM:
TRANSLATE WITH MICROSOFT OFFICE WORD AND UNICODE UTF-8
Kuzucuk
 
Posts: 9
Joined: 20 Jul 2012, 22:10

Re: About Language [SOLVED]

Postby Sauer2 » 21 Jul 2012, 14:24

That's much of an overkill and Word (or any other text processor) isn't the right tool for the job, even if this worked out for you in this one special case :!:
Word supports different Encodings in an intransparent way and even this differs from Version to Version.
It should suffice to open the .cfg file in a sane text editor. I don't mean notepad.exe here, since Notepad adds the byte order mark (http://stackoverflow.com/questions/2223 ... ithout-bom) according to wikipedia and this might be the problem.

From your post i guess you are using Windows, so in your case Notepad++ (http://notepad-plus-plus.org/) should do the job. You may want to switch the encoding to "UTF8 without BOM" after opening the file in the program.
It also has a better startup time, which might feel better if you are impatient like me. ;)
User avatar
Sauer2
 
Posts: 430
Joined: 19 Jan 2010, 14:02

Re: About Language [SOLVED]

Postby Kuzucuk » 21 Jul 2012, 19:26

Sauer2 {l Wrote}:That's much of an overkill and Word (or any other text processor) isn't the right tool for the job, even if this worked out for you in this one special case :!:
Word supports different Encodings in an intransparent way and even this differs from Version to Version.
It should suffice to open the .cfg file in a sane text editor. I don't mean notepad.exe here, since Notepad adds the byte order mark (http://stackoverflow.com/questions/2223 ... ithout-bom) according to wikipedia and this might be the problem.

From your post i guess you are using Windows, so in your case Notepad++ (http://notepad-plus-plus.org/) should do the job. You may want to switch the encoding to "UTF8 without BOM" after opening the file in the program.
It also has a better startup time, which might feel better if you are impatient like me. ;)

hmm thanks i will use notepadplusplus :)
Kuzucuk
 
Posts: 9
Joined: 20 Jul 2012, 22:10

Re: About Language [SOLVED]

Postby Kuzucuk » 22 Jul 2012, 01:50

but in source code same problem
i using Code::Blocks v10.05 for compiling
Kuzucuk
 
Posts: 9
Joined: 20 Jul 2012, 22:10

Re: About Language [SOLVED]

Postby qreeves » 22 Jul 2012, 09:34

Notepad++ for the win. Can't help you with the source code though, don't think C::B has an option for that.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: About Language [SOLVED]

Postby sireus » 22 Jul 2012, 13:35

Edit > File encoding > UTF-8 in the menu. On Linux, anyway.
sireus
 
Posts: 109
Joined: 24 May 2011, 20:10

Re: About Language [SOLVED]

Postby qreeves » 22 Jul 2012, 14:32

sireus {l Wrote}:Edit > File encoding > UTF-8 in the menu. On Linux, anyway.

Confirmed, also present in Windows builds. Thanks again, sireus.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: About Language [SOLVED]

Postby Kuzucuk » 23 Jul 2012, 02:19

sireus {l Wrote}:Edit > File encoding > UTF-8 in the menu. On Linux, anyway.

not work for windows:) and its alredy utf-8
Kuzucuk
 
Posts: 9
Joined: 20 Jul 2012, 22:10

Who is online

Users browsing this forum: No registered users and 1 guest