SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Chinese words are not shown properly

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
Riquleme



Joined: 14 Nov 2008
Posts: 8

PostPosted: Mon Nov 17, 2008 7:08 pm    Post subject: Chinese words are not shown properly Reply with quote

Hi, I think this is a same old story that many people have already encountered.

I follow the simple example in the developer's manual, and I have two languages: English and Simplified Chinese. Chinese is always shown as ???? in Translation Editor. I did check the steps on the page "Adding Support for Far East or other Unicode languages", but it still doesn't work.

My setup is as follows:

CharSets in Translations tree:

Component English Simplified Chinese
TMainForm DEFALUT_CHARSET GB2312_CHARSET
StatusBar DEFALUT_CHARSET GB2312_CHARSET

Fonts in Translations tree:

Component English Simplified Chinese
TMainForm Default Tahoma
StatusBar Default Tahoma

Default Fonts in Tools

I changed the Simplified Chinese item to the following:
Simplified Chinese Tahoma GB2312_CHARSET

And then I click "replace" button to replace whatever it was.

So that is all I did, is there anything I missed or something wrong?

And one more question, what is the relationship of settings in (a) Defalt fonts window and (b) settings in Fonts and CharSets in Translation tree. Which settings ( a or b ) really affect how the words are shown?

Thank you in advance.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Tue Nov 18, 2008 11:11 am    Post subject: Reply with quote

Hello,

Do you have installed support for Far East languages in Control Panel?
Back to top
View user's profile Send private message
Riquleme



Joined: 14 Nov 2008
Posts: 8

PostPosted: Tue Nov 18, 2008 7:50 pm    Post subject: Reply with quote

Yes, I have. Also I am able to type Chinese words.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Wed Nov 19, 2008 6:33 am    Post subject: Reply with quote

Does Translation Editor displays ??? for Chinese under all sections?
Do you have the Chinese language name the same as in Default Fonts.
Translation Editor uses settings from Fonts and Charsets sections to draw component's strings and Default Fonts to draw strings in sections like Strings and Dialogs.
Back to top
View user's profile Send private message
Riquleme



Joined: 14 Nov 2008
Posts: 8

PostPosted: Wed Nov 19, 2008 11:35 pm    Post subject: Reply with quote

isiticov wrote:
Does Translation Editor displays ??? for Chinese under all sections?

Yes, all sections.

isiticov wrote:
Do you have the Chinese language name the same as in Default Fonts.

Yes they are the same. CharSet as GB2312_CHARSET, Font as SimHei (I also tried Tahoma).

Any thoughts?
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Thu Nov 20, 2008 3:19 am    Post subject: Reply with quote

Really strange. What OS do you use?
Could you please send us a sample project and we will open it on our side to check?
Back to top
View user's profile Send private message
Riquleme



Joined: 14 Nov 2008
Posts: 8

PostPosted: Thu Nov 20, 2008 9:11 pm    Post subject: Reply with quote

The system I am working on is Windows XP Version 2002, SP 3.

How do I forward my sample to you?

Thank you very much for your continuous reply.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Fri Nov 21, 2008 4:26 am    Post subject: Reply with quote

Just send it to support _at_ sicomponents _dot_ com.
Back to top
View user's profile Send private message
Riquleme



Joined: 14 Nov 2008
Posts: 8

PostPosted: Fri Nov 21, 2008 9:51 pm    Post subject: Reply with quote

The example has been sent. Thanks.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Sun Nov 23, 2008 11:49 am    Post subject: Reply with quote

No attachments were sent.
Back to top
View user's profile Send private message
Riquleme



Joined: 14 Nov 2008
Posts: 8

PostPosted: Tue Nov 25, 2008 5:24 pm    Post subject: Sent again Reply with quote

Sorry, my bad.
I have sent again. Look forward to your reply.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Wed Nov 26, 2008 9:27 am    Post subject: Reply with quote

Thank you for re-sending.
1. In the sources you sent there is no Chinese values presented at all.
2. We've tested and Chinese words displayed properly. Could you try to add some Chinese translations to Dictionary Manager and later use Auto-Translate in Translations Editor to check if this works better.
3. In the SIL files you sent we've noticed that you've used "*" as delimiter. We would say that this is a bad choice as translations may include such char inside and this causes invalid data loading when loading from external file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group