Hello Igor,
that works perfect !
Thank you !
Best regards
Andreas
Search found 23 matches
- Wed Nov 22, 2023 5:50 am
- Forum: TsiLang Components Suite
- Topic: Delete language by code
- Replies: 2
- Views: 63874
- Tue Nov 21, 2023 11:31 am
- Forum: TsiLang Components Suite
- Topic: Delete language by code
- Replies: 2
- Views: 63874
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...
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...
- Fri Nov 06, 2020 7:19 am
- Forum: TsiLang Components Suite
- Topic: Delphi 10.4, FMX
- Replies: 1
- Views: 7008
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...
- Mon May 11, 2015 3:45 am
- Forum: TsiLang Components Suite
- Topic: Error on Excel import
- Replies: 1
- Views: 10642
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 ?
"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 ?
- Wed Apr 17, 2013 5:56 am
- Forum: TsiLang Components Suite
- Topic: load translations from an other form
- Replies: 1
- Views: 10058
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 ...
- Tue Apr 03, 2012 6:32 am
- Forum: TsiLang Components Suite
- Topic: Show available languages
- Replies: 1
- Views: 9353
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...
- Fri Mar 30, 2007 7:48 am
- Forum: TsiLang Components Suite
- Topic: Merging SIB-Files ?
- Replies: 13
- Views: 47813
- Fri Mar 30, 2007 6:54 am
- Forum: TsiLang Components Suite
- Topic: Merging SIB-Files ?
- Replies: 13
- Views: 47813
- Thu Mar 29, 2007 6:58 am
- Forum: TsiLang Components Suite
- Topic: Merging SIB-Files ?
- Replies: 13
- Views: 47813
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...
- Tue Mar 20, 2007 5:44 am
- Forum: TsiLang Components Suite
- Topic: Merging SIB-Files ?
- Replies: 13
- Views: 47813
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...
- Mon Mar 19, 2007 6:25 am
- Forum: TsiLang Components Suite
- Topic: Merging SIB-Files ?
- Replies: 13
- Views: 47813
- Wed Mar 14, 2007 8:33 am
- Forum: TsiLang Components Suite
- Topic: Merging SIB-Files ?
- Replies: 13
- Views: 47813
...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...
- Tue Mar 13, 2007 9:14 am
- Forum: TsiLang Components Suite
- Topic: Merging SIB-Files ?
- Replies: 13
- Views: 47813
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...
- Tue Mar 13, 2007 7:06 am
- Forum: TsiLang Components Suite
- Topic: Merging SIB-Files ?
- Replies: 13
- Views: 47813
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......
- Mon Jul 10, 2006 9:06 am
- Forum: TsiLang Components Suite
- Topic: New entries could´nt be read :-(
- Replies: 2
- Views: 10978
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...