Search found 20 matches
- Mon Feb 12, 2007 3:53 pm
- Forum: TsiLang Components Suite
- Topic: TsiLang and form inheritance / run-time issue
- Replies: 13
- Views: 20713
- Mon Feb 12, 2007 3:10 pm
- Forum: TsiLang Components Suite
- Topic: TsiLang and form inheritance / run-time issue
- Replies: 13
- Views: 20713
I've followed your instructions exactly and TranslationData is still not being streamed. As I said, I suspect the problem relates to NeedWriteTranslation sub procedure in TsiCustomLang.DefineProperties. I think it would be good to add something to TsiCustomLang.Options e.g. loAlwaysStreamTranslation...
- Mon Feb 12, 2007 2:22 pm
- Forum: TsiLang Components Suite
- Topic: TsiLang and form inheritance / run-time issue
- Replies: 13
- Views: 20713
- Mon Feb 12, 2007 2:12 pm
- Forum: TsiLang Components Suite
- Topic: TsiLang and form inheritance / run-time issue
- Replies: 13
- Views: 20713
- Mon Feb 12, 2007 12:35 pm
- Forum: TsiLang Components Suite
- Topic: TsiLang and form inheritance / run-time issue
- Replies: 13
- Views: 20713
- Mon Feb 12, 2007 12:08 pm
- Forum: TsiLang Components Suite
- Topic: TsiLang and form inheritance / run-time issue
- Replies: 13
- Views: 20713
- Mon Feb 12, 2007 11:59 am
- Forum: TsiLang Components Suite
- Topic: TsiLang and form inheritance / run-time issue
- Replies: 13
- Views: 20713
- Mon Feb 12, 2007 11:15 am
- Forum: TsiLang Components Suite
- Topic: TsiLang and form inheritance / run-time issue
- Replies: 13
- Views: 20713
TsiLang and form inheritance / run-time issue
Why is it that to allow a form to be translated, the siLang component needs to have streamed TranslationData to the DFM? Why can't there be a run-time option for situations where translation is only being done at run-time? The design time option means whenever any change is made to a form, I have to...
- Fri Feb 09, 2007 11:10 am
- Forum: TsiLang Components Suite
- Topic: Form inheritance and exclude properties
- Replies: 2
- Views: 8660
Form inheritance and exclude properties
I wonder if I am missing something obvious, but it seems SiComponents do not lend themselves very well to form inheritance and property exclusions. For example, I have a project with 2000 forms. I have a base form frmBase with siLangRT on it, I have a descendent form frmTranslateBase which sets siLa...
- Thu Jan 18, 2007 3:16 pm
- Forum: TsiLang Components Suite
- Topic: Making a column readonly in RT Language editor
- Replies: 1
- Views: 5894
Making a column readonly in RT Language editor
Is there any way to prevent editing of the primary language column in the runtime SI lang editor? e.g. Our first (default) language is English, but we have been asked by our customers to make this readonly so that users and / or translators don't change things by mistake. The secondary languages Fre...
- Thu Jan 18, 2007 2:59 pm
- Forum: TsiLang Components Suite
- Topic: Dynamically adding languages at runtime
- Replies: 5
- Views: 9911
- Thu Jan 18, 2007 11:45 am
- Forum: TsiLang Components Suite
- Topic: Dynamically adding languages at runtime
- Replies: 5
- Views: 9911
I forgot to mention that at runtime, TfrmBase loads any saved SIB file the user has created and saved. constructor TfrmBase.Create(AOwner: TComponent); var TranslationFile : string; begin inherited; TranslationFile := ExtractFilePath(Application.ExeName) + Self.ClassName + '.sib'; siLangRT.StorageFi...
- Thu Jan 18, 2007 11:18 am
- Forum: TsiLang Components Suite
- Topic: Dynamically adding languages at runtime
- Replies: 5
- Views: 9911
Due to the sheer size of our applications (1000s of forms) we use form inheritance to achieve multi-lingual capability, this is achieved in the following way: TdmoTranslator = class(TDatamodule) holds our language dispatcher on, loads languages at app start-up. Created and persistent for lifetime of...
- Wed Jan 17, 2007 6:11 pm
- Forum: TsiLang Components Suite
- Topic: Dynamically adding languages at runtime
- Replies: 5
- Views: 9911
Dynamically adding languages at runtime
Our users want to dynamically add languages at run time, and although we can do this by changing LangDispatcher.LangNames, when you go to use the si translation form to translate, they only see columns for languages created at design time, even though we are loading / saving translations to an exter...
- Mon Jan 08, 2007 1:29 pm
- Forum: TsiLang Components Suite
- Topic: Import Resource Strings Issue
- Replies: 5
- Views: 10441