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 

Japanese Translation

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



Joined: 11 Jul 2003
Posts: 4

PostPosted: Fri Feb 03, 2006 8:20 pm    Post subject: Japanese Translation Reply with quote

Hi all,

I am working with SIL files and Delphi 6.
I can see inside the TSI component the Japanese characters, but in the application it is not a Japanese character, it is different.

What I have to do to see the Japanese characters in a button, for example?

Thanks in advance.

Roberto
Back to top
View user's profile Send private message MSN Messenger
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Sat Feb 04, 2006 7:43 am    Post subject: Reply with quote

Hello,
As you discovered, some Delphi controls draw themselves using OS default locale and don't take in account the Charset property. These controls are wrappers of native Windows controls. Example of such countrols: TButton, TRadiobutton, TCombobox and others.
So as the solution of this problem could be either:
1. Use custom draw components instead of these controls. (3rd party)
2. Use Unicode components (3rd party), this will help you to show any language independent on default locale.
3. Do nothing but just adjust developer OS to be able to handle needed languages.

Some further details about each of point above:
1. This will require to change your project forms as well as code quite seriously. So it may be smarter to consider other two options.
2. Freeware with source Unicode TNT controls available from http://www.tntware.com offers the replacement for almost all standard VCL so the migrating will require just some DFM editing and may take minutes. This way allows to have and display any language at run-time you want. (But you still will need to adjust Charsets configuration in TsiLang, since it is used to perform ANSI <-> UNICODE conversion)
3. This may looks strange but in most cases you don't need to do anything special. Most users who will need to read your UI in their local language will have their language as default in OS and as result they will be able always to see English and their language. The only problem would be to configure your development OS to support needed language. So it may be worth considering this.

The most flexible way is to use option 2. Because actually the only way to support different (like German, Russian and Chinese or Greek) languages at same time is to use Unicode controls. In this way we've built our Resource Builder http://www.resource-builder.com , which was initially built as Ansi but easily converted to Unicode later and supports now any language.
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