All announcements, questions and issues related to the TsiLang Components Suite.
Laurent Desseignes
Posts: 3 Joined: Mon Jul 11, 2005 7:36 am
Post
by Laurent Desseignes » Mon Jul 11, 2005 8:12 am
Hi ,
I have some jpeg images in my application, that I need to change when I switch the language. I did'nt find any way to do it...
Can you please help me ? I need to wotk with Sil files, as I want another person to make the translation, including images.
Rgds
Laurent
isiticov
Site Admin
Posts: 2416 Joined: Thu Nov 21, 2002 3:17 pm
Post
by isiticov » Mon Jul 11, 2005 8:26 am
To translate images you can use OnChangeLanguage event and manually load images into needed properties. Images can be translated only manually and cannot be stored in SIL/SIB files
Best regards,
Igor Siticov.
Laurent Desseignes
Posts: 3 Joined: Mon Jul 11, 2005 7:36 am
Post
by Laurent Desseignes » Mon Jul 11, 2005 8:44 am
Why not ?
After all, Delphi itself stores the images in the dfm text files... So why shouldn't I be able to do the same ?
isiticov
Site Admin
Posts: 2416 Joined: Thu Nov 21, 2002 3:17 pm
Post
by isiticov » Mon Jul 11, 2005 11:14 am
SIL files are simple text files and won't be able to hold binary data for images.
Best regards,
Igor Siticov.
Laurent Desseignes
Posts: 3 Joined: Mon Jul 11, 2005 7:36 am
Post
by Laurent Desseignes » Wed Jul 13, 2005 8:59 am
I understand the sil files are text files...
But if you consider that delphi stores the images in the dfm files, that are also text files... then it is possible !!!!
isiticov
Site Admin
Posts: 2416 Joined: Thu Nov 21, 2002 3:17 pm
Post
by isiticov » Wed Jul 13, 2005 9:44 am
SIL files are not just text files but they are also INI files that hold single line values and other limitations apply to them.
DFM (in text mode) are text files in special format.
But we will investigate what could be improved in this way.
Best regards,
Igor Siticov.