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
Column-width suddenly "1" (WPF) - 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: Thu Feb 25th, 2010 10:46 am
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 79
Status: 
Offline
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition>
                            <ColumnDefinition.Style>
                                <Style TargetType="{x:Type ColumnDefinition}">
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding Level}" Value="2">
                                            <Setter Property="Width" Value="20" />
                                            <Setter Property="MinWidth" Value="20" />
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding Level}" Value="3">
                                            <Setter Property="Width" Value="40" />
                                            <Setter Property="MinWidth" Value="40" />
                                        </DataTrigger>
                                    </Style.Triggers>
                                    <Setter Property="Width" Value="0" />
                                    <Setter Property="MinWidth" Value="0" />
                                </Style>
                            </ColumnDefinition.Style>
                        </ColumnDefinition>
                        <ColumnDefinition Width="20" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>


In the translated resource files, the <ColumnDefinition Width="20"/> is replaced with a Width set to "1".

Any idea why? (I think we were using Build 296 at the time)

Back To Top PM Private Upload Quote Reply

 Posted: Thu Feb 25th, 2010 03:03 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello,

I had created sample source file based on content from your post and Sisulizer project, but I couldn't reproduce it (I got correct value in output file). Could you send to us your Sisulizer project and VS project files (or some sample for reproduce this issue) via our upload form?

Best regards,
Janusz



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

 Posted: Thu Feb 25th, 2010 04:34 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Janusz Grzybek wrote: Could you send to us your Sisulizer project and VS project files (or some sample for reproduce this issue) via our upload form?
You needn't send whole project. Upload to us only your XAML file.

Janusz



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

 Posted: Fri Feb 26th, 2010 08:13 am
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 79
Status: 
Offline
Ah, thanks.

I have not rolled back from build 299, so I was a bit stuck wrt reproducing this issue.

Back To Top PM Private Upload Quote Reply

 Posted: Fri Feb 26th, 2010 10:26 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello,

Thank you for your XAML file. I created SLP for this file, but I got correct result (SL keeps correct Width value in output file). So, issue can be related to your SLP file. Could you upload to us also your Sisulizer project file (SLP)? We'll would like check it.

Best regards,
Janusz



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

 Posted: Fri Feb 26th, 2010 01:56 pm
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 79
Status: 
Offline
Done.

I apologize for not compressing the file. Only afterwards did I realize it was a 4MB big file.

Incidentally: Do you guys accept .7z files?

Back To Top PM Private Upload Quote Reply

 Posted: Fri Feb 26th, 2010 03:14 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Thank you for file.

Incidentally: Do you guys accept .7z files?
Our Upload Form accepts only ZIP and RAR archive extensions. Most archive tools can create files in these common archive formats. 7-zip tool also support ZIP format (look on attached screenshot). 7z format gives better compression than ZIP, but anyway ZIP format should give you file with 480 KB size instead 4 MB (SLP file).

Best regards,
Janusz

Attachment: screen.png (Downloaded 19 times)



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

 Posted: Fri Feb 26th, 2010 03:18 pm
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 79
Status: 
Offline
I know about that option in the GUI, but I prefer using the command-line utility and I'm not entirely sure about the -t switch. So rather than spend time testing that switch, I simply use Windows' built-in zip. :)

Back To Top PM Private Upload Quote Reply

 Posted: Fri Feb 26th, 2010 03:37 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
You needn't use switches with 7-zip command line for creation ZIP archive. Simple, use this extension in command line, for example:

7z a sample.zip sample.txt
Regards,
Janusz



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

 Posted: Fri Feb 26th, 2010 03:37 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
Thank you for the file. I took a look at your SLP file and noticed that the column with has translations

                  <item class="TVisGridItem" name="Column1" type="stAbsolute">
                    <row id="Width">
                      <native>20</native>
                      <lang id="nb-NO" status="2">1</lang>
                      <lang id="sv-SE" status="2">1</lang>
                      <lang id="en" status="2">1</lang>
                    </row>
                  </item>

The original value is 20 but there is English, Norwegian and Swedish translation of 1. Turn floating numbers on in the Sisulizer grid filter and remove the translations.

Jaakko



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

 Posted: Fri Feb 26th, 2010 03:45 pm
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 79
Status: 
Offline
Oh. It was "auto translated".

Which sort of leads to my next question: Why?

Back To Top PM Private Upload Quote Reply

 Posted: Fri Feb 26th, 2010 05:01 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
Have you imported translations from localized XAML files?

Jaakko



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

 Posted: Mon Mar 1st, 2010 11:23 am
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 79
Status: 
Offline
Well, I am just the build guy. My chief concern is to get everything to...well... build. :)

However, I did ask our translator, and she replied that we have not intentionally used such a feature.

Back To Top PM Private Upload Quote Reply

Current time is 06:14 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Column-width suddenly "1" (WPF)



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