Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... 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
Scanning DataTemplate / ResourceDictionary - WPF - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ...
AuthorPost
 Posted: Thu Oct 16th, 2008 07:07 am
PM Quote Reply
michael.sync
Member
 

Joined: Wed Oct 15th, 2008
Location:  
Posts: 5
Status: 
Offline
Hello,

I started evaluating Sisulizer Enterprise version today. Based on your website, it seems it's pretty cool tool. ?When I started playing it for a whie, I got two questions in my mind.

1) We are using Datatemplate/ResourceDictionary in our WPF application. I tried to scan our sln file, csproj and xaml file with Sisu but it is not able to scan anything. Is it because Sisulizer doesn't support WPF DataTemplate?

2) There are some strings that we set to the control at runtime from code-behind file. Is Sisulizer able to scan those strings too?

Back To Top PM Quote Reply

 Posted: Thu Oct 16th, 2008 05:42 pm
PM Quote Reply
Janusz Grzybek
Super Moderator


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

Could you send on support (at) Sisulizer.fi email address your Visual Studio project with included WPF DataTemplate. Your files could help us faster to find solution for your issue.

Best regards,
Janusz



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

 Posted: Fri Oct 17th, 2008 03:11 am
PM Quote Reply
michael.sync
Member
 

Joined: Wed Oct 15th, 2008
Location:  
Posts: 5
Status: 
Offline
Okay.

You can simply create one datatemplate and scan it with your tool.

If you are not sure how to create a datatemplate in WPF, please use the following.

<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:model="clr-namespace:mynamespace"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<DataTemplate DataType="{x:Type model:myViewModel}" >
<TextBlock Text="Here is string #1" />
<Button Content="Save" />
</DataTemplate>
</ResourceDictionary>

OR

You can download the sample project from this link.

http://blogs.southworks.net/jdominguez/2008/09/presentation-model-with-datatemplates-in-compositewpf-prism-sample/

Thanks.

Back To Top PM Quote Reply

 Posted: Tue Nov 11th, 2008 03:24 am
PM Quote Reply
sakhatovsky
Member
 

Joined: Mon Nov 10th, 2008
Location:  
Posts: 1
Status: 
Offline
is there any updates on that?

Back To Top PM Quote Reply

 Posted: Wed Nov 12th, 2008 10:22 am
PM Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Bedburg, Germany
Posts: 832
Status: 
Offline
Hi,

we asked R&D about that issue. While our CTO is here at the Tech-Ed EMEA in Barcelona answers might be delayed.

Regarding to issue #2: Sorry, you can only scan and write strings in the resources of your application. It can not read and write "hard-coded" strings placed in your source code.
But if you move the strings into your resources Sisulizer can easily localize them as your strings placed in dialogs.

If you need translations on the fly you could place strings in XML, localize that with Sisulizer and at runtime you load the strings from them XML. This is useful for example if you need German transations (e.g. to print German invoices) while your GUI of your CRM is running in French.

Markus



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

Current time is 03:09 pm  
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Scanning DataTemplate / ResourceDictionary - WPF



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize