Search found 65 matches
- Thu Mar 26, 2009 4:20 pm
- Forum: TsiLang Components Suite
- Topic: Function to get String ID
- Replies: 4
- Views: 7540
Re: Function to get String ID
As we know we read strings form SIL by using siLang->GetTextOrDefault("IDS_0") by default, my question is that is there a funfction that can return String ID in Strings property by providing string contents (AnsiString) and language ID(Int or AnsiString) as parameters? Or something simila...
- Mon Mar 02, 2009 9:31 pm
- Forum: TsiLang Components Suite
- Topic: Changes done in Delphi are lost!
- Replies: 1
- Views: 4334
Changes done in Delphi are lost!
On our applications, if we change, in Delphi, the Caption of a component, without making any change into TranslationEditor , the modification is lost :!: After saving the form, a look into the DFM file show that the Caption change has been recorded into the Delphi part of the file, but not in the Ts...
- Wed Jan 21, 2009 4:51 am
- Forum: TsiLang Components Suite
- Topic: Empty DialogCaptions when 6.3.1 reads a 6.3.0.2 SIB File
- Replies: 5
- Views: 8652
Cause of the Double Captions and False Translations(?)
I think I put the finger on the bug. The problem seems to be related with the value of "FSIBLoading" set by the method LoadAllFromFile. The line 10215 tests FSIBLoading and that prevents the merge between default values and the dialog caption read from the SIB file. N.B. I sent an email wi...
- Wed Jan 21, 2009 1:20 am
- Forum: TsiLang Components Suite
- Topic: Empty DialogCaptions when 6.3.1 reads a 6.3.0.2 SIB File
- Replies: 5
- Views: 8652
The Workaround is only a temporary solution
Unfortunately, the workaround posted in the first message of this subject is only a temporary solution :( . The problem comes back as soon we do a "SaveSelectedForm" command (option "Save/LoadTranslation" of the "File" menu) in TsiLangExpert. Then we now need a fix very...
- Mon Jan 19, 2009 10:33 pm
- Forum: TsiLang Components Suite
- Topic: Empty DialogCaptions when 6.3.1 reads a 6.3.0.2 SIB File
- Replies: 5
- Views: 8652
Modification to SIB file format?
In my message, I observed that the new SIB (after the workaround) is smaller that the original one. Some sections are removed, such as - IsInheritedOwner, - ActiveLanguage and - DoNotTranslate. The last item, the list of excluded component , is seems the most important one. Is this an optimisation t...
- Fri Jan 16, 2009 6:17 pm
- Forum: TsiLang Components Suite
- Topic: Empty DialogCaptions when 6.3.1 reads a 6.3.0.2 SIB File
- Replies: 5
- Views: 8652
Empty DialogCaptions when 6.3.1 reads a 6.3.0.2 SIB File
TsiLang Suite v6.3.1. We found two problems when v6.3.1 reads SIB files that have been created with v6.2.2 then edited with v6.3.0.* :cry: . 1) TranslationEditor problem : The new TranslationEditor of v6.3.1 adds extra "empty" DialogCaptions when reading those SIB files. If we do any chang...
- Fri Oct 10, 2008 12:02 pm
- Forum: TsiLang Components Suite
- Topic: SilEditor Bug when Cut&Pasting
- Replies: 1
- Views: 4706
SilEditor Bug when Cut&Pasting
The SilEditor has a bug when Cu&Pasting in Find&ReplaceGlobally. 1- Open a SIB file with SilEditor and do a <Ctrl-C> ( Copy command) on any cell. 2- Click on another cell from to select it (it gets a blue background). 3- Open the Find & Replace Globally window (Edit menu). 4- Click in th...
- Fri Oct 03, 2008 10:00 pm
- Forum: TsiLang Components Suite
- Topic: Not All selected Forms loaded by LoadSelectedForm command
- Replies: 3
- Views: 7384
Not All selected Forms loaded by LoadSelectedForm command
At some occasions, when we reload SIB Files into DFM, using the "Load Selected Forms..." button, only one Form is effectively loaded, even we did selected a group of Forms. In such cases, the forgotten DFMs do not contain the translations. Then, when the programmer does recreate the SIB fr...
- Thu Oct 02, 2008 9:42 pm
- Forum: General
- Topic: What in October 2nd new versions of SilEditor & Dict.Man
- Replies: 1
- Views: 30161
What in October 2nd new versions of SilEditor & Dict.Man
Since today, October 2nd, there is a new version of two TsiLang tools:
- SilEditor v5.0.0.4 and
- Dict.Manager v3.0.0.2.
I currently run SilEditor v5.0.0.2 and Dict.Manager v3.0.0.1.
What does those new version add to my current version?
Thanks
- SilEditor v5.0.0.4 and
- Dict.Manager v3.0.0.2.
I currently run SilEditor v5.0.0.2 and Dict.Manager v3.0.0.1.
What does those new version add to my current version?
Thanks
- Wed Aug 13, 2008 4:14 pm
- Forum: TsiLang Components Suite
- Topic: How does a Parent Form can get its own Strings?
- Replies: 6
- Views: 10218
How to get Parent's Strings when its Child is instanciated
If you load translations from file it must contain all strings (parent's and child's) in child form section. Then they will be loaded into TsiLang when you load external file. I coded the new utility "AddParentStrFromSIB" which reads the Parent's strings from the SIB file, into its Child'...
- Tue Aug 12, 2008 3:53 pm
- Forum: TsiLang Components Suite
- Topic: How does a Parent Form can get its own Strings?
- Replies: 6
- Views: 10218
Re: How to access Parent's strings
Oups! Does not work when the Strings are read from an SIL or SIB file.Jean-Paul Brassard wrote:Update: The Parent's StringsCollection is not available at run time, but its strings ARE available through Child's StringsCollection...
It is only OK whsn the strings are read from the DFM.
- Tue Aug 12, 2008 1:03 pm
- Forum: TsiLang Components Suite
- Topic: How does a Parent Form can get its own Strings?
- Replies: 6
- Views: 10218
Re: How to access Parent's strings
Please forgot my previous "potential solution". Here is new info about that problem. No, Parent's strings are not available at run-time. When you instantiate child form only its resources (DFM) is available for Delphi as well as for TsiLang... Update: The Parent's StringsCollection is not ...
- Fri Aug 08, 2008 2:10 pm
- Forum: TsiLang Components Suite
- Topic: How does a Parent Form can get its own Strings?
- Replies: 6
- Views: 10218
How to access Parent's strings
No, Parent's strings are not available at run-time. When you instantiate child form only its resources (DFM) is available for Delphi as well as for TsiLang. This is why you get only child's strings. If you use inheritance and wish to re-use strings from parent just be sure don't override their valu...
- Thu Aug 07, 2008 10:09 pm
- Forum: TsiLang Components Suite
- Topic: How does a Parent Form can get its own Strings?
- Replies: 6
- Views: 10218
How does a Parent Form can get its own Strings?
I have a hierarchy of inherited Forms for which only the lowest Child is instanciated. When the Child uses a function of its parent, we get wrong strings. The Parent calls to siLangRT1.GetTextOrDefault('IDS_0'...); , returns the Child's translation for IDS_0, not the Parent's one. For example: TPare...
- Tue Aug 05, 2008 7:59 pm
- Forum: TsiLang Components Suite
- Topic: Property "Date Modified" unchanged!?
- Replies: 1
- Views: 4968
Property "Date Modified" unchanged!?
Sometimes, when the "TranslationData" property is added into a DFM, the file is saved without an update of the "Date Modified" property of the file (see file properties in Windows Explorer). Because of that, VSS do not take my DFM file when I execute the VSS CheckIn command. So m...