Search found 23 matches

by mediatech
Wed Nov 22, 2023 5:50 am
Forum: TsiLang Components Suite
Topic: Delete language by code
Replies: 2
Views: 46547

Re: Delete language by code

Hello Igor,

that works perfect !
Thank you !
Best regards
Andreas
by mediatech
Tue Nov 21, 2023 11:31 am
Forum: TsiLang Components Suite
Topic: Delete language by code
Replies: 2
Views: 46547

Delete language by code

How to delete a language by code ?
i tried "SibFileMAnager.siComponents[0].DeleteLanguage(2)", in debugmode i can see, that ".LangNAmes.Count" decreases, but when i save file with "SibFileMAnager.savetofile..." the changes i made are NOT saved...
by mediatech
Fri Nov 06, 2020 7:19 am
Forum: TsiLang Components Suite
Topic: Delphi 10.4, FMX
Replies: 1
Views: 3071

Delphi 10.4, FMX

hi there, we are using: - Delphi 10.4 -sicomponents 7.8.4 we create a new multiplatform FMX Project, Target Win64. Drop a TsiLangRT on the form, compile, Error: [dcc64 Fatal Error] siLangRT.pas(25): F2613 Unit 'Controls' not found. (see also appended Screenshot) also we added conditional define &quo...
by mediatech
Mon May 11, 2015 3:45 am
Forum: TsiLang Components Suite
Topic: Error on Excel import
Replies: 1
Views: 8609

Error on Excel import

Each Time i import an excel file into a new SIB-File (or existing, does´nt matter) i´ll get error-message
"Error importing test.xls. Error: Wrong data format"

Tried to import a file in XLS as wll as in XLSX-Format, error is the same.

Can you help us please ?
by mediatech
Wed Apr 17, 2013 5:56 am
Forum: TsiLang Components Suite
Topic: load translations from an other form
Replies: 1
Views: 7918

load translations from an other form

is it possible to load a translated string from another form or another SIB-File? e.g. in TForm2 i can get a text by "silang1.gettextordefault('test')". Right now i like to get this text also in another form (TForm1) without making an identical entry in the sib-File for TForm1, so in form ...
by mediatech
Tue Apr 03, 2012 6:32 am
Forum: TsiLang Components Suite
Topic: Show available languages
Replies: 1
Views: 7511

Show available languages

How to show available languages ? using following code: ... var sLng: string; n: Integer; begin sLng:= ExtractFileDir(Application.ExeName)+'\test.sib'; siLangRTSE1.LoadAllFromFile( sLng, false); siLangRTSE1.ActiveLanguage:= 1; n:= siLangRTSE1.NumOfLanguages; ListBox1.Items:= siLangRTSE1.LangNames; e...
by mediatech
Fri Mar 30, 2007 7:48 am
Forum: TsiLang Components Suite
Topic: Merging SIB-Files ?
Replies: 13
Views: 39601

Sorry,

i´m ashamed :oops: :oops: :oops:

that works. Nothing left to say, just again; Thank you very much, i'll always recommend you and your components (including support :-)

Best regards

Andreas
by mediatech
Fri Mar 30, 2007 6:54 am
Forum: TsiLang Components Suite
Topic: Merging SIB-Files ?
Replies: 13
Views: 39601

OK i tried the following; on commandline entered D:\SILTEst\SILEDITOR.exe -morig[D:\SILTEst\SILEDITOR.sib] -mnew[D:\SILTEst\SILEDITOR_Update.sib] -mlang[English] [-msuperfl] where D:\SILTEST is a directory with new version of SilEditor (V 3.3.3.0) the original SIB-File "SILEDITOR.SIB" belo...
by mediatech
Thu Mar 29, 2007 6:58 am
Forum: TsiLang Components Suite
Topic: Merging SIB-Files ?
Replies: 13
Views: 39601

Commandline...

Hi, i got stuck in the code of my "Update-Procedure", so decided to use Sileditor with commandline. I tried following: SILEDITOR -morig[ORIGINAL.SIB] -mnew[UPDATE.SIB] did´nt work, also tried with complete path, with -mlang Parameter, but none of them updated the ORIGINAL.SIB, also i found...
by mediatech
Tue Mar 20, 2007 5:44 am
Forum: TsiLang Components Suite
Topic: Merging SIB-Files ?
Replies: 13
Views: 39601

That code works, but it just works at creation of the form. My project handles about 90 forms !! i don´t create them all at startup, some of them are also rarely opened by the enduser. So the method to update each form at creation is almost inoperative.. But i ´ll go to write some code that opens ea...
by mediatech
Mon Mar 19, 2007 6:25 am
Forum: TsiLang Components Suite
Topic: Merging SIB-Files ?
Replies: 13
Views: 39601

:(
No, also that still takes no effect...

Best Regards

Andreas
by mediatech
Wed Mar 14, 2007 8:33 am
Forum: TsiLang Components Suite
Topic: Merging SIB-Files ?
Replies: 13
Views: 39601

...next step...

so far i checked it out; the following code ... siLang.LoadAllFromBinaryFile('OLD.SIB'); siLang.BuildList; bUpdated:= siLang.MergeAllFromFile('NEW.SIB'); siLang.SaveAllToBinaryFile('OLD.SIB'); siLang.LoadAllFromBinaryFile('NEW.SIB'); ... works fine if i place it on a form. The Items in the "OLD...
by mediatech
Tue Mar 13, 2007 9:14 am
Forum: TsiLang Components Suite
Topic: Merging SIB-Files ?
Replies: 13
Views: 39601

little steps forward ...

Ok, with the "SaveToBinary()" function the SIB file is´nt damaged any longer, but it still takes no effort... I´m using "TsiLangRTSE", with following code ... siLang1.LoadAllFromBinaryFile('C:\Test\CDM.SIB'); bUpdated:= siLang1.MergeAllFromFile('C:\TEST\Update.SIB'); siLang1.Save...
by mediatech
Tue Mar 13, 2007 7:06 am
Forum: TsiLang Components Suite
Topic: Merging SIB-Files ?
Replies: 13
Views: 39601

Merging SIB-Files ?

I tried to merge SIB-Files via "MergeAllFormFile"-Function. The function returns "true", the SIB-File thereafter is damaged (unrecognized Stream format). Also, i tried to use "Sileditor" with Commandline-Parameters (-mlang... -morig... -mnew), but it takes no effects......
by mediatech
Mon Jul 10, 2006 9:06 am
Forum: TsiLang Components Suite
Topic: New entries could´nt be read :-(
Replies: 2
Views: 8283

New entries could´nt be read :-(

i can make a new entry in SIL-Editor (in SIB-File, by example "stest") , but by calling "siLang1.GetTextOrDefault('sTest')" just an empty string is returned. The SIB-File contains about 6500 words in about 74 forms. It does´nt matter in which form i make new entries, i could´nt l...