Search found 32 matches

by jsweby
Tue Sep 30, 2008 10:53 am
Forum: TsiLang Components Suite
Topic: Command-line merge losing delimiter
Replies: 4
Views: 7809

Command-line merge losing delimiter

I have two SIL files from 2 separate projects that I want to merge together. I use this command line: "sileditor.exe" -morig "C:\dev\file1.sil" -mnew "C:\dev\file2.sil" -mlang all -msuperfl The elements from file2.sil all end up in file1.sil as I would expect, but they ...
by jsweby
Wed Sep 24, 2008 12:50 pm
Forum: TsiLang Components Suite
Topic: SIL Editor ExportTo automation method
Replies: 9
Views: 12754

From what I can tell, that is exactly the same as: procedure TForm1.TntButton1Click(Sender: TObject); var FIntf: Variant; begin FIntf := CreateOleObject('SILEditor.SilEditorIntf'); try FIntf.EditFile(Edit1.Text, 'Captions', False); FIntf.ExportTo(Edit2.Text, etSIB); finally FIntf := UnAssigned; end;...
by jsweby
Wed Sep 24, 2008 11:21 am
Forum: TsiLang Components Suite
Topic: SIL Editor ExportTo automation method
Replies: 9
Views: 12754

OK thanks. I re-read your post after I posted, and realised that is probably what you meant. Unfortunately, I can't seem to export from a SIB file at all. The code I gave above for exporting a SIL file to a SIB file works fine every time. In fact, exporting from a SIL file to any other format works ...
by jsweby
Wed Sep 24, 2008 9:00 am
Forum: TsiLang Components Suite
Topic: SIL Editor ExportTo automation method
Replies: 9
Views: 12754

Hi. Do you mean like this: FIntf := CreateOleObject('SILEditor.SilEditorIntf'); try FIntf.EditFile(SIBFILENAME, 'Captions', False); FIntf.ExportTo(SILFILENAME, etTsiLang); finally FIntf := UnAssigned; end; because this produces a compiler error: undeclared identifier 'etTsiLang' Which is what I get ...
by jsweby
Tue Sep 23, 2008 11:37 am
Forum: TsiLang Components Suite
Topic: SIL Editor ExportTo automation method
Replies: 9
Views: 12754

SIL Editor ExportTo automation method

Using automation I can export a SIL file to a SIB file: FIntf := CreateOleObject('SILEditor.SilEditorIntf'); try FIntf.EditFile(SILFILENAME, 'Captions', False); FIntf.ExportTo(SIBFILENAME, etSIB); finally FIntf := UnAssigned; end; Can a SIB file be exported to an SIL file using automation? In the SI...
by jsweby
Thu Sep 18, 2008 8:57 am
Forum: TsiLang Components Suite
Topic: Auto Translate missing some translations
Replies: 4
Views: 6497

OK, thanks.

Surprising though, didn't think I'd be the only one expecting/hoping that the translation would translate any part of a caption, not just whole word captions.
by jsweby
Thu Sep 18, 2008 7:58 am
Forum: TsiLang Components Suite
Topic: Auto Translate missing some translations
Replies: 4
Views: 6497

Igor,

Thanks for letting me know. Is there any way to handle this, other than opening the SIL file in code and performing my own partial match StringReplace?
by jsweby
Wed Sep 17, 2008 3:02 pm
Forum: TsiLang Components Suite
Topic: Auto Translate missing some translations
Replies: 4
Views: 6497

Auto Translate missing some translations

I have set up a very simple dictionary using the TsiLang Dictionary Manager. It has 2 languages ("Standard" and "Custom") and only about 6 entries. The first of these is: Standard Custom ======== ======== Department Division In the Files Editor, I open the dictionary, select Capt...
by jsweby
Mon Jun 09, 2008 3:53 pm
Forum: TsiLang Components Suite
Topic: Form inheritance and exclude properties
Replies: 2
Views: 7236

Was anything ever done about this? We don't use inherited forms and I also want to have DataField excluded from all form translations (over 80 forms). The only way I can currently see is to go into each form and choose the Exclude... option and find DataField to add to the Exclude list. Is there no ...
by jsweby
Mon Jun 09, 2008 2:09 pm
Forum: TsiLang Components Suite
Topic: Command Lines
Replies: 3
Views: 5787

Thanks, Igor, for the prompt reply.

Is there a command line to load and save, for example to load a SIL file and save a SIB file? Or should I use the COM interface of the SIL Editor to do this?

Regards,
Jason.
by jsweby
Mon Jun 09, 2008 1:01 pm
Forum: TsiLang Components Suite
Topic: Command Lines
Replies: 3
Views: 5787

Command Lines

Where can we get a list of all of the command line parameters supported by the SIL Editor and Dictionary Manager?
by jsweby
Tue Jun 03, 2008 1:31 pm
Forum: TsiLang Components Suite
Topic: Automatically update SIL after Dictionary Change
Replies: 11
Views: 13970

It is working well now, thank you for your time.
by jsweby
Tue Jun 03, 2008 10:27 am
Forum: TsiLang Components Suite
Topic: Automatically update SIL after Dictionary Change
Replies: 11
Views: 13970

Yes that has made a difference. The SIL file is now updated. However, it has not actually performed any translation. If I use the Auto-Translate feature of the SIL Files Editor, I get the options: Case sensitive search Skip & when searching Overwrite existing items Is there any way these can be ...
by jsweby
Mon Jun 02, 2008 8:57 am
Forum: TsiLang Components Suite
Topic: Automatically update SIL after Dictionary Change
Replies: 11
Views: 13970

I will send you my files via email then and see if there is a problem with my files rather than the translator. Thanks.
by jsweby
Fri May 23, 2008 5:37 am
Forum: TsiLang Components Suite
Topic: Automatically update SIL after Dictionary Change
Replies: 11
Views: 13970

Yes I already tried that before I posted, made no difference.