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 

Setting Font/Charset

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



Joined: 19 Mar 2004
Posts: 4

PostPosted: Mon Mar 22, 2004 5:41 am    Post subject: Setting Font/Charset Reply with quote

Hi,

I am evaluating TsiLang component suite. I have used the Translation editor to write some translations for thai language. In the application the translated strings does not seem to be shown in the correct font for menus etc. The labels etc show them in the proper font.

In the translation editor itself all translations show up in the proper font. I have selected Thai Charset for all components in the charset tab of the translation editor.

Any ideas ?

TIA
SK
Back to top
View user's profile Send private message
Haron



Joined: 11 Mar 2004
Posts: 39

PostPosted: Mon Mar 22, 2004 7:04 am    Post subject: Reply with quote

Let's think together...
1. What menu component do you use ?
2. Are you sure menu not excluded from translation ?
3. What about TAction usage - does it help ?
4. Maybe some tricks used for menu creation ?
Back to top
View user's profile Send private message
Srikumar



Joined: 19 Mar 2004
Posts: 4

PostPosted: Mon Mar 22, 2004 7:11 am    Post subject: Reply with quote

Hi,

1) The Menu component is a custom menu but nothing fancy.

Actually even the Application caption does not show the translation in the proper font. So it has nothing to do with the component.

2) I have not excluded the menus' from translation (BTW how do u do that). And the text is getting translated but not showing up properly.

3) I dont get what you mean by TActiona usage.

TIA
Back to top
View user's profile Send private message
Haron



Joined: 11 Mar 2004
Posts: 39

PostPosted: Mon Mar 22, 2004 7:34 am    Post subject: Reply with quote

Well, some of your words sounds very strange.

> "I have selected Thai Charset for all components in the charset tab of the translation editor."

As I think, there are must be only one component - form class. You should set CharSet and Font for it. What another components do you see there ?!

> "The Menu component is a custom menu but nothing fancy"

Hey, try standard menu first ! Do you think Igor is magician (ok, he is...) and can support all custom components ?!

> "Actually even the Application caption does not show the translation in the proper font"

What is Application caption ? :) Text on taskbar button ? Caption of main window ?

> "I dont get what you mean by TActiona usage"

Standard technique: drop TActionList to form, create Actions (set Caption, picture index, state, Enabled, Visible etc.), then assign them to visual controls, instead of direct usage of TMenuItem, TButton etc.
Back to top
View user's profile Send private message
Srikumar



Joined: 19 Mar 2004
Posts: 4

PostPosted: Mon Mar 22, 2004 7:45 am    Post subject: Reply with quote

Hi,

Thanks for your reply!

I see some Report Builder & label components other than the form class.I think I can ignore the others ...but I have set the Thai charset for the Form class.

I mean the caption of the application main window does not show the correct font.

What I want to do is take an existing application with some custom components / third party controls and try to figure out whether TsiLang is suitable for us. I can try the standard menu and some demo applications but I am trying to evaluate what all we will need to change if we use TsiLang suite.Obviously it seems to be quite good using delphi standard controls etc.

Maybe I just do not know how to use the component correctlly yet.

TIA
Back to top
View user's profile Send private message
Haron



Joined: 11 Mar 2004
Posts: 39

PostPosted: Mon Mar 22, 2004 8:02 am    Post subject: Reply with quote

> "I see some Report Builder & label components other than the form class.I think I can ignore the others ..."

Ok, that labels ParentFont = False... Not important for us.

> but I have set the Thai charset for the Form class.

That's right.

> I mean the caption of the application main window does not show the correct font.

Did you set Font for Form class too ?

> What I want to do is take an existing application with some custom components / third party controls and try to figure out whether TsiLang is suitable for us.

Absolutely ! Since ExtendedTranslations implemented - it's difficult to say what CAN'T be translated using SILang. Not perfect interface, of course, but kind of Object Inspector, where you can specify translated values for ANY published properties.

So, as I understand problem is not in SILang, but improper use. Huh :) Just for "fun": try with standard menu first.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Thu Mar 25, 2004 7:15 am    Post subject: Reply with quote

These links may give you some help:
http://www.sicomponents.com/lng_faq.html#8
http://www.sicomponents.com/forum/viewtopic.php?t=12
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