Dialogs without caption
Dialogs without caption
I'm using BCB++ 6 and version 6.0.1 of sicomp.
I have a TsiLangDispatcher with 3 languages and a TsiLangRT in the base form class. Many forms with which are inherited from the base form class with the TsiLangRT component.
If I use the method MessageDlg of TsiLangRT all captions are empty (button and form caption)
In the sil file is written
[Dialogs]
TsiTransEditFrm.Abort=&Abort~!@#
TsiTransEditFrm.All=&All~!@#
TsiTransEditFrm.Cancel=Cancel~!@#
TsiTransEditFrm.Confirm=Confirm~!@#
TsiTransEditFrm.Error=Error~!@#
TsiTransEditFrm.Help=&Help~!@#
It seems like, that not 3 languages are in.
How can I force it? manuel?
Thansk for your help
I have a TsiLangDispatcher with 3 languages and a TsiLangRT in the base form class. Many forms with which are inherited from the base form class with the TsiLangRT component.
If I use the method MessageDlg of TsiLangRT all captions are empty (button and form caption)
In the sil file is written
[Dialogs]
TsiTransEditFrm.Abort=&Abort~!@#
TsiTransEditFrm.All=&All~!@#
TsiTransEditFrm.Cancel=Cancel~!@#
TsiTransEditFrm.Confirm=Confirm~!@#
TsiTransEditFrm.Error=Error~!@#
TsiTransEditFrm.Help=&Help~!@#
It seems like, that not 3 languages are in.
How can I force it? manuel?
Thansk for your help
I set it to true and nothing changed.
But I opened the Translation Editor of the form and pressed on the disk symbol. After this the captions of the MessageDlg appears.
But in the sil file is written
Do I have to translate each form section dialogs? I thought that standard dialogs are common and I don't have to translate it again and again?!
But I opened the Translation Editor of the form and pressed on the disk symbol. After this the captions of the MessageDlg appears.
But in the sil file is written
Code: Select all
[Dialogs]
TFrmVerpackungsbeiblatt.Abort=&Abbrechen~!@#&Cancel~!@#~!@#
TFrmVerpackungsbeiblatt.All=&Alle~!@#&All~!@#~!@#
TFrmVerpackungsbeiblatt.Cancel=Abbrechen~!@#&Cancel~!@#~!@#
TFrmVerpackungsbeiblatt.Confirm=Bestätigung~!@#Confirm~!@#~!@#
TFrmVerpackungsbeiblatt.Error=Fehler~!@#Error~!@#~!@#
...
...
TsiTransEditFrm.Confirm=Confirm~!@#
TsiTransEditFrm.Error=Error~!@#
TsiTransEditFrm.Help=&Help~!@#
Yes, you need this for each form in case you don't use TsiLangLinked (which is designed exactly for sharing common terms like dialogs).
Also you may try to set Options property of TsiLang to [loUseExtCommonStrings], then TsiLang will try to use dialog translations from any TsiLang linked to same dispatcher.
Also you may try to set Options property of TsiLang to [loUseExtCommonStrings], then TsiLang will try to use dialog translations from any TsiLang linked to same dispatcher.
Best regards,
Igor Siticov.
Igor Siticov.
You have defined dialog captions only for TFrmVerpackungsbeiblatt form. Is this form created at the moment you try to call MessageDlg() method of TsiLang with [loUseExtCommonStrings] in options? Also please note: you must set this flag for all TsiLangs except TFrmVerpackungsbeiblatt form.
Best regards,
Igor Siticov.
Igor Siticov.