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 

adding korean to dictionary problems

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



Joined: 15 Jan 2003
Posts: 27
Location: Denmark

PostPosted: Tue Jan 20, 2004 9:37 am    Post subject: adding korean to dictionary problems Reply with quote

I receive sil-files with korean translation. when opening the sil file in sil-editor and adding the strings to the dictionary it some of the korean letters are exchanged with questionmarks(?).

Both the sil-file and the dictionary is set to use Arial Unicode MS and the font is installed on the machine from the MS Office package.

Any idea what the problem is?

the sil file with korean language is available at
http://www.palmbutler.com/testing/gwizard.sil
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Tue Jan 20, 2004 9:46 am    Post subject: Reply with quote

Did this happend in all strings or only in strings for captions from TRemoteWizardForm?
Back to top
View user's profile Send private message
larsrikart



Joined: 15 Jan 2003
Posts: 27
Location: Denmark

PostPosted: Tue Jan 20, 2004 9:55 am    Post subject: Reply with quote

I can be reproduced

1) open gwizard.sil in sileditor
2) add a line to the dictionary
3) check the added line in the dictionary (it should be wrong)
4) delete the korean translation from the sil-editor
5) let sileditor propose a translation from dictionary for the deleted korean translation and choose it.
6) the translation in sileditor is also wrong.
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Wed Jan 21, 2004 7:45 am    Post subject: Reply with quote

Everything works well on our side.
Do you have set up Default Fonts (see Tools|Default Fonts in SIL Editor menu) for Korean language? Please be sure that for Korean language is set to use Arial Unicode MS font and HANGUEL_CHARSET.
Back to top
View user's profile Send private message
larsrikart



Joined: 15 Jan 2003
Posts: 27
Location: Denmark

PostPosted: Wed Jan 21, 2004 9:36 am    Post subject: Reply with quote

Hi my problem

When suggesting from dictionary



everything looks allright.

But in the translation editor you get ??'s like this:



Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Wed Jan 21, 2004 12:17 pm    Post subject: Reply with quote

Checking...
Btw, you may use not Suggest Translation but Get Translation and then it for sure should work correct.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Wed Jan 21, 2004 12:24 pm    Post subject: Reply with quote

Checked and this works fine too for us. Are you sure you have specified the correct Charset (Hanguel) for Korean language? What OS do you use?
Back to top
View user's profile Send private message
larsrikart



Joined: 15 Jan 2003
Posts: 27
Location: Denmark

PostPosted: Thu Jan 22, 2004 8:57 am    Post subject: Reply with quote

1) charset is correct in both dictonary manager, translator and sileditor(silfile).
2) Windows XP Pro English completely windowsupdated
Back to top
View user's profile Send private message Visit poster's website
larsrikart



Joined: 15 Jan 2003
Posts: 27
Location: Denmark

PostPosted: Thu Jan 22, 2004 12:07 pm    Post subject: Reply with quote

Hi I now found two situations where this can happen.

1) sometimes even though SilEditors default font for Korean is Hanguel you need to set CharSet to Hanguel for each module in this section.
You then get ??(questionmarks) when getting the translations from the dictionary.

2) I have seen situations with a different font chosen for korean in the Font section. If this is a non asian font or the font is not installed on the PC you get garbage letters.
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Thu Jan 22, 2004 12:51 pm    Post subject: Reply with quote

larsrikart wrote:

1) sometimes even though SilEditors default font for Korean is Hanguel you need to set CharSet to Hanguel for each module in this section.
You then get ??(questionmarks) when getting the translations from the dictionary.


Yes, SIL Editor uses the Font/Charset info from file first if this is available, so when you have empty font/charset for this language for the form or control itself then it will try to use Font/Charset info from first language (default). And only in case it is not available then it uses the information from Default Fonts settings.

larsrikart wrote:

2) I have seen situations with a different font chosen for korean in the Font section. If this is a non asian font or the font is not installed on the PC you get garbage letters.

This is similar to 1)

Anyway I hope it is working for you now.
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