home recent topics recent posts search faq  

RC-WinTrans Forum



register | lost password | |
Messages in this topic - RSS

Home » RC-WinTrans Support » xaml

For support issues and specific questions related to RC-WinTrans' use, features and functions.
06.03.2013 13:55:15

lakuda
lakuda
Posts: 36
Hello again! I have a problem with localization of an xaml-file. The file has the following structure:

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:String x:Key="EventsCaption">Автомобили</sys:String>
<sys:String x:Key="ErrorsCaption">Статус серверов</sys:String>
<sys:String x:Key="DBCaption">База:</sys:String>

It is added to RC-WinTrans project perfectly but when I write a target file I get this:

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<system:String x:Key="EventsCaption" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib">Vehicles</system:String>
<system:String x:Key="ErrorsCaption" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib">Server status</system:String>
<system:String x:Key="DBCaption" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib">Database:</system:String>

What can be done?
0 permalink
06.03.2013 20:34:25

Support
Support
Administrator
Posts: 245
Hello Lakuda,

this is the result of an XSL transformation used to create the translated XAML file.
The XSL transformation adds the namespaces (xmlns) to each element (to each <sys:String> ).

Note: The target XAML file is valid XAML (!)
...but does not look as good as the source XAML.

We have improved this for our XML Files Converter now.
The new "XMLFilesConverter.macro" file ("XML-2029, March 2013") will be included in the next
RC-WinTrans 9 service release (following V9.2.2.2).

If you want I can send you the improved "XMLFilesConverter.macro" file and you can replace
it in your RC-WinTrans installation.

Regards,
Support, Schaudin.com
.
edited by Support on 18.04.2013
0 permalink




Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software