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: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
Tab labels are moved around - 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: Wed Mar 15th, 2017 09:48 am
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
After adding Icelandic as second target language the tab labels are moved around within the resource file.
Only some labels were translated at this first test and the rest of the translated labels seem to be ok.
The rest of the resource file and project is ok.

What could have happened? And how do we prevent it from happening again?

KR
Meta

Back To Top PM Private Upload Quote Reply

 Posted: Wed Mar 15th, 2017 01:16 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2941
Status: 
Offline
What platform. .Net or Delphi?
Do you have some screenshot?

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Mar 15th, 2017 02:38 pm
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
Hi Markus,
sorry... .Net

Do you mean screen shots of application or of Sisulizer?
KR
Meta

Attachment: Iceland.png (Downloaded 35 times)

Last edited on Wed Mar 15th, 2017 03:03 pm by meta

Back To Top PM Private Upload Quote Reply

 Posted: Wed Mar 15th, 2017 02:50 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2941
Status: 
Offline
A shot of the moved tabs so we can see what you are talking about.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Mar 15th, 2017 03:03 pm
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
Attachment added. So I framed the error labels and added text for where they were before we added the new target language.

Next attachment shows how it looks for Swedish target language after importing Icelandic strings.

The Icelandic strings however are ok!

Attachment: Iceland1.png (Downloaded 34 times)

Last edited on Wed Mar 15th, 2017 03:07 pm by meta

Back To Top PM Private Upload Quote Reply

 Posted: Wed Mar 15th, 2017 04:25 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1947
Status: 
Offline
It seems that the contexts of the tab sheets has changed. If you see the above Sisulizer screenshot you see that the original values has been changed. Did you add a new tab sheet and reordered them in Visual Studio. For example ultraTab2 now contains "E - Invoice" but it seems that on previous scan "E - Invoice" was on ultraTab6 control. I am not familiar to Ultra Tab but does it let you to specify the tab control's name or is it auto generated.

Ilkka



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 16th, 2017 07:47 am
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
Nope no changes were made in the original settings. Actually I added Icelandic to another version of the project but did NOT import the text strings and the problem occurred anyway.
See attachment Iceland 9.x

Attachment: Iceland 9.x.png (Downloaded 29 times)

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 16th, 2017 07:49 am
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
Another attachment showing how it looks another version back when no new language is added.
Don't mind the translation status, I just needed to change it for the screen shot.
KR
Meta

Attachment: Iceland 9.0.png (Downloaded 29 times)

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 16th, 2017 02:14 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1947
Status: 
Offline
Can you zip the older and newer slp file and the .resx file for pnlMiddle and upload them to use by clicking the above Private Upload button.

Ilkka



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 20th, 2017 08:59 am
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
I surely will, was off work Friday. Files are uploaded!
KR Meta

Last edited on Mon Mar 20th, 2017 10:24 am by meta

Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 27th, 2017 07:38 am
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
Any news here???
KR Meta

Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 27th, 2017 03:01 pm
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
Adding another piece to the puzzle. I know for sure that the tab texts were not mixed as I added the language and not as I imported the Icelandic text strings.
It seems like they were mixed as new tabs where added to the Customer form.

Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 27th, 2017 03:22 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2941
Status: 
Offline
From you last post my guess is, that the tabs do not have real fixed unique ID. The TabControl seems to renumber/rename the tab entries when you add new entries.

If this is the reason this is a general issue a localization tool can not easily overcome. Its like a text file where the row number is an ID. In general every ressource element has a unique ID that does not change. But in a few cases controls have lists of names that share an ID plus an index. And the index is not fixed.

Sisulizer uses the path to the control as ID. If these "IDs" are changed in the source Sisulizer doesn't have a match anymore. Its like switching phone numbers without having a phone number index.

To overcome this there is some trick. Store each tab title in a single text ressource entries. This way each has an unique ID. Then fill the tab titles one by one at runtime. This way the translation pairs can not mix and you are safe.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Mar 28th, 2017 04:19 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1947
Status: 
Offline
Hi Meta,

It seems so that the tab sheet names (not the caption) were changed. For example the resx has

"E - Invoice"

and it is on ultraTab2.Text property.

But the older .slp has that on ultraTab6.Text property.

So at some it between old and new slp Visual Studio changed the control name from ultraTab2 -> ultraTab6. As you wrote it happened when a new table was added. This caused a context change that is always difficult to handle. It may cause a translation to be lost or even worse (as in your case) two translations to be mixed.

Wheneve a context change Sisulizer finds that the origianl has been changed and marks that row as changed (red dot, I marked with green border) but it keeps the existing translations (that were for the old native) but marks them as invalidated (red dot on the translation cell, I makred with blue border). So those translations that are potantially wron are marked in Sisulizer and you can use filter that Sisulizer shows only them. Then it is up to your translator(s) to check the translations.

I don't know the reason why Visual Studio changed the component names but it must be something Infragistics implemented.

Best regards,
Ilkka

Attachment: Untitled.png (Downloaded 4 times)



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Mar 28th, 2017 05:46 am
PM Private Upload Quote Reply
meta
Member
 

Joined: Wed Oct 14th, 2009
Location: Sweden
Posts: 109
Status: 
Offline
Thanks, I will forward this to a collegue. We had issues a couple of years ago with grid columns but they were solved (don't know how...)
:) Meta

Back To Top PM Private Upload Quote Reply

Current time is 10:37 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Tab labels are moved around



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