à and è characters and dc++ 0.668

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
ZzManRoolez
Posts: 5
Joined: 2004-07-25 18:05
Contact:

à and è characters and dc++ 0.668

Post by ZzManRoolez » 2004-12-24 11:31

Hi!
I'm triying to translate DC++ 0.668 source from English to Italian,but when I try to insert characters like à and è the clients don't inserts it but It show only a space (like Proprietà is Propriet).
How I can do it?

(sorry for my bad english, I'm Italian)
Sorry for my BAD english :)

Image

Gasman1015
Posts: 184
Joined: 2003-05-26 11:29
Location: UK

Post by Gasman1015 » 2004-12-24 12:05

Are you refering to the actual source code or the language file.
Always remember you're unique, just like everyone else.

ZzManRoolez
Posts: 5
Joined: 2004-07-25 18:05
Contact:

Post by ZzManRoolez » 2004-12-24 12:10

Source code. If I use _T("Word") it works, but if i use (CTSTRING(WORD_DEFINED_IN_STRINGDEFS) it doesn't works :cry:
Sorry for my BAD english :)

Image

ivulfusbar
Posts: 506
Joined: 2003-01-03 07:33

Post by ivulfusbar » 2004-12-24 14:45

Are you aware about the fact that DC++ supports language-files?

And if so, why do you need to edit the code?
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

ZzManRoolez
Posts: 5
Joined: 2004-07-25 18:05
Contact:

Post by ZzManRoolez » 2004-12-25 12:11

I need a client all in Italian language, and with language files you don't translate all the client, but only strings that are in stringdefs.cpp.

And then also why it is a way in order to understand that part of code :)
Sorry for my BAD english :)

Image

3lancer
Posts: 6
Joined: 2004-11-17 07:31

Post by 3lancer » 2004-12-26 19:15

ZzManRoolez wrote:I need a client all in Italian language, and with language files you don't translate all the client, but only strings that are in stringdefs.cpp.

And then also why it is a way in order to understand that part of code :)
Well that should not be the case, but anyway...if it is, you can simply fix the code so that you can use a language file for all strings.

e.g check the resources, then get that text...add it to stringdefs ...compile...make a new language file.

ZzManRoolez
Posts: 5
Joined: 2004-07-25 18:05
Contact:

Post by ZzManRoolez » 2004-12-27 09:25

I know that with the language file it can be made, but does not exist a way in order to make it from source code without having to use the language file?
Sorry for my BAD english :)

Image

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-12-27 12:55

ZzManRoolez wrote:I need a client all in Italian language, and with language files you don't translate all the client, but only strings that are in stringdefs.cpp.
All strings should be in the Example.xml. If I've missed some (I've done most of the work in making the translation file 100%), please tell me where.

If you want to give users a DC++ that defaults to your language file, include a dummy DCPlusPlus.xml file that only has the "LanguageFile" setting in it.

ZzManRoolez
Posts: 5
Joined: 2004-07-25 18:05
Contact:

Post by ZzManRoolez » 2004-12-27 13:03

I want to understand the error in à and è characters, without use language files!
Sorry for my BAD english :)

Image

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 17:15

Post by arnetheduck » 2004-12-27 14:33

think source file encoding vs utf-8

Locked