Hi guys,
is it possible to load translation from *.dfm file, if the expect translation is not availible at the *.sil file.
For example
We have two buttons at a form. The first language for the first button is availible at the *.sil file, but not the second language, whose is abailible at the dfm.
Could you tell me how it is possible to do so. Some test by me shows, that the translations in the *.dfm would only load if the dispatcher couldn't load the *.sil file (don't find it).
And is it possible to check that the *.sil file was loaded?!
Best regards
Sebastian
Loading translations
Hi,
No, it is noit possible to load second language from DFM if SIL file was loaded before and it didn't have translation for this language. Loading from file overwrites existing (from DFM) translations.
What do you mean under "to check that the *.sil file was loaded"? If file exists and you call LoadFromFile and this file contain details about form then it will be loaded.
No, it is noit possible to load second language from DFM if SIL file was loaded before and it didn't have translation for this language. Loading from file overwrites existing (from DFM) translations.
What do you mean under "to check that the *.sil file was loaded"? If file exists and you call LoadFromFile and this file contain details about form then it will be loaded.
Best regards,
Igor Siticov.
Igor Siticov.
Yes but sometimes i write first and then think about it, i get it.
A last question please, when i doubleclick on a tsilang component on a form in my delphi enviroment, the editor for sil files is open, i change translation and choose File|Close saved, where it is saved in the dfm?!
Forget it i found it, is it right default language is saved in the dfm definitions and all other languages in the data translation section?!
A last question please, when i doubleclick on a tsilang component on a form in my delphi enviroment, the editor for sil files is open, i change translation and choose File|Close saved, where it is saved in the dfm?!
Forget it i found it, is it right default language is saved in the dfm definitions and all other languages in the data translation section?!