home recent topics recent posts search faq  

Schaudin.com Forum



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

Home » RC-WinTrans Support » Images have "Unknown Type (Stringtable)"

For support issues and specific questions related to RC-WinTrans' use, features and functions.
11.04.2013 17:03:44

hayhurst
hayhurst
Posts: 13
Hi

I've just added a number of .NET projects to my translation project that include resources resx files (not attached to dialogs).

These resx files contain strings strings and a gif files a typical one looks like this:


<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Error_ImpactNotValid" xml:space="preserve">
<value>Impact is not valid</value>
</data>
<data name="Error_SpacingNotValid" xml:space="preserve">
<value>Spacing is not valid</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="KoreaDB" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>KoreaResources\KoreaDB.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>


The strings appear fine in wintrans but the image is not recognised as such the contents of the <value> tag appears and the type is given as Unknown Type (Stringtable).

Can you help I need these images to be translatable. We are using wintrans version 8.8.6.2 (March 2010).

Cheers

James
0 permalink
12.04.2013 20:57:34

Support
Support
Administrator
Posts: 211
Hello James,

RC-WinTrans handles images only when the image data is included (internally) in the RESX file.
Your image is included as a reference to an image file- RC-WinTrans does not accept this for image editing.

To translate the image you need to make a copy of the image file, then edit/translate the duplicate image with an image editor.
In RC-WinTrans you need to enter the name of the duplicated image file as the translation.

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

Home » RC-WinTrans Support » Images have "Unknown Type (Stringtable)"





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software