|
|||
|
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > "importing by context" and reuse of translations
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| "importing by context" and reuse of translations - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
waeberd Member
|
Hello, I have questions about "importing by context" for Delphi applications, here's what I am trying to do: 1) I have one master.slp built out of master.exe files in several languages 2) master.exe is a "fake" application containing every form once (so it's nice for external translators) 3) I have a realapp1.exe built in Delphi that needs to be translated in several languages 4) realapp1.exe uses a subset of forms of the master.exe / master.slp Steps I am doing: a) create a new realapp1.slp out of realapp1.exe from step 4 (-> Original language) b) import translations out of masater.slp into realapp1.slp c) create all localized realapp1.exe out of realapp1.slp My big problem: In step b) I don't get a clean import! * If I do an import by value, stuff is partially imported, there seem to be conflict or "best guess" problems with duplicate values. * If I try to do an import by context, nothing is imported, because "Import file does not contain realapp1.exe source" / "No translations imported". Same problem if I check the option "Use partial context...." What's wrong with my approach? I would like the translator to do his work once in master.slp then reuse the big and unique translation for all the realappN.exe-files. Any idea? Help! Thanks, Daniel
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
waeberd Member
|
Additional thought: "Importing by context ignoring the EXE-header" could do the job!? If I understand it well "context" is defined like "masterEXE.Form1.Control1.Caption" The target context would be "realapp1EXE.Form1.Control1.Caption" so if the sisulizer importer could just ignore the first token (the exe-part), it should be fine!? Thanks, Daniel
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Daniel, Have you tried the Import Wizard option: Use partial context in addition to full context ? In general it sounds like your import fails because of some settings of the Import Wizard options, especially the Overwrite Method. Hope this helps Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
waeberd Member
|
I can do an import "by context" if I hack the exe-name in the master.slp file: 1) in master.slp, replace <source class="TDelphiSource" name="master.exe" original="de-CH" defaultlanguage="de-CH" date="20100621114540" options="[voSetBiDiMode,voMirrorForms,voScanOnlyForms,voUseIndex]"> with <source class="TDelphiSource" name="realapp1.exe" original="de-CH" defaultlanguage="de-CH" date="20100621114540" options="[voSetBiDiMode,voMirrorForms,voScanOnlyForms,voUseIndex]"> 2) Import by context, works perfectly Now how can I do this the "official" way? Using slmake... Thanks, Daniel Last edited on Tue Jun 22nd, 2010 12:55 pm by waeberd |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Daniel, Have you tried the Import Wizard option: Use partial context in addition to full context ? Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
waeberd Member
|
Markus.Kreisel wrote:Use partial context in addition to full context Yes, I have tried this without success. "partial context" still doesn't import anything "overwrite" is set to "always". Pleas read my previous post, the "slp-hack" does the trick... Thanks, Daniel
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Markus.Kreisel Administrator
|
Can you please upload the original slp and the slp you want to import into it. I give it a try and try to find out why the switch does not have an effect. Please use the "Private Upload" button right above this post. It helps us to keep track of uploads and forums posts. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
waeberd Member
|
Markus.Kreisel wrote:Can you please upload the original slp and the slp you want to import into it. I give it a try and try to find out why the switch does not have an effect. done! Thank you! Daniel
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Daniel, I used the settings in the shot and the rows missing in your shot you uploaded import fine. In contrast to the default import settings I used "Partial context in addition to full context" and "By context first then by value" as import method. Please try in the GUI if that does the trick for you as well. Markus Attachment: 0019.jpg (Downloaded 12 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
waeberd Member
|
Markus.Kreisel wrote:Please try in the GUI if that does the trick for you as well. Hello Markus, unfortunately, this didn't work. I will upload two screenshots, I have double checked that I used the same settings as you did. I am using Build 306. Thanks, Daniel
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Markus.Kreisel Administrator
|
I have to ask R&D why the switch does not work in your case. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
waeberd Member
|
Thank you, meanwhile I will try to automate my "hack"-workaround. Daniel
|
||||||||||||||||
| |||||||||||||||||
| Current time is 08:41 pm | |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > "importing by context" and reuse of translations | |
Sisulizer software localization tool - Three simple steps to localize