Search found 22 matches

by Ioan
Wed Apr 05, 2006 5:54 pm
Forum: TsiLang Components Suite
Topic: Orpheus components
Replies: 4
Views: 11080

Hello, I have another problem with another Orpheus componets, the TOvcCheckList. I tried something similar like the OvcNotebook, but I cannot make it work. A form created at run-time includes a TOvcCheckList with 5 strings in the list. When the form is created with another language than the default ...
by Ioan
Wed Apr 05, 2006 2:18 pm
Forum: TsiLang Components Suite
Topic: Retrieve the string index
Replies: 3
Views: 13177

I tried both cases (I don't use resource strings) and the results are: I'm using a siLangLinked component. The original string (in Language 1) is sItem. 1. It always returns the original string (for Language 1). I like this way but I don't have time to look for the fix. if MainForm.siLangDispatcher1...
by Ioan
Tue Apr 04, 2006 8:43 pm
Forum: TsiLang Components Suite
Topic: Retrieve the string index
Replies: 3
Views: 13177

Retrieve the string index

I have a weird question: Is there any way to retrieve programmatically the identifier of a string (IDS_XXX) given one language string? On other words, I have the English value of a string and I need to retrieve from the strings list the IDS_XXX index, so I can get the other language value. Example: ...
by Ioan
Wed Mar 29, 2006 9:01 pm
Forum: TsiLang Components Suite
Topic: Orpheus components
Replies: 4
Views: 11080

Orpheus components

Hi, I'm using in D7 projects some Orpheus components (former TurboPower). Right now I have problems retrieving for translation the OvcTabSheet pages of the OvcNotebook. The ovctabsheets are items of TOvsNoteBook.PageCollection (TovcCollection), but this collection is not recognized by the siLangLink...
by Ioan
Thu Mar 16, 2006 8:09 pm
Forum: TsiLang Components Suite
Topic: Beginner questions
Replies: 3
Views: 6562

Thank you for the quick reply. Actually, the wizard must already make this for you, didn't it? Yes, it did. 1. I would recommend to use SIB file instead of SIL. It is much faster and stable. Since SIL file is just a modification of INI format. I will create SIB files in the future. Now the files are...
by Ioan
Wed Mar 15, 2006 2:57 pm
Forum: TsiLang Components Suite
Topic: Beginner questions
Replies: 3
Views: 6562

OK, for the second question I think I found a partial answer:
If I use the siLang1.GetTextOrDefault('IDS_nn')) call for a new string I can go in Translation Editor - strings and add the new ID and string. Same for any change.

Is this the correct way?

Thanks,

Ioan
by Ioan
Wed Mar 15, 2006 2:36 pm
Forum: TsiLang Components Suite
Topic: Beginner questions
Replies: 3
Views: 6562

Beginner questions

I'm a new user of siComponents package and I have some "basic" questions: I need to translate from English to French a pretty big Delphi 7 application: 116 forms and 11 code units. I started by running the wizard which puts a siLangLinked on each form and a siLang and siLangDispatcher on t...