|
|||
|
.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)
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| 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 | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
bikedude Member
|
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)
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Janusz Grzybek Super Moderator
|
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 |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Janusz Grzybek Super Moderator
|
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 |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
bikedude Member
|
Ah, thanks. I have not rolled back from build 299, so I was a bit stuck wrt reproducing this issue.
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Janusz Grzybek Super Moderator
|
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 |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
bikedude Member
|
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?
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Janusz Grzybek Super Moderator
|
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 |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
bikedude Member
|
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.
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Janusz Grzybek Super Moderator
|
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 |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Jaakko.Salmenius Administrator
|
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 |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
bikedude Member
|
Oh. It was "auto translated". Which sort of leads to my next question: Why?
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Jaakko.Salmenius Administrator
|
Have you imported translations from localized XAML files? Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
bikedude Member
|
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.
|
||||||||||||||||
| |||||||||||||||||
| 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) | |
Sisulizer software localization tool - Three simple steps to localize