Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
"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
AuthorPost
 Posted: Tue Jun 22nd, 2010 12:30 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 22nd, 2010 12:40 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 22nd, 2010 12:46 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 22nd, 2010 12:53 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 22nd, 2010 12:57 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 22nd, 2010 01:00 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
Markus.Kreisel wrote:
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.


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

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 22nd, 2010 01:08 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 22nd, 2010 03:27 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jun 23rd, 2010 09:27 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Wed Jun 23rd, 2010 09:37 am
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jun 23rd, 2010 10:05 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Wed Jun 23rd, 2010 10:07 am
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
Thank you, meanwhile I will try to automate my "hack"-workaround.

Daniel

Back To Top PM Private Upload Quote Reply

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



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize