12.10.2011 17:56:35
Topic:
Changed Source
hayhurst
|
Is it possible to stop the target text of resources marked as "Changed Source" being written to target files. I'd ideally like those resources marked as changed source to write the source text to the target file rather than the erroneous translation.
I know I can mark them with the exclude attribute is this the only way?
By the way I'm using WinTrans X8 and translating Visual Studio *.rc files |
26.10.2011 14:30:34
Topic:
Changed Source
hayhurst
|
Ok.
Is it possible to set a translation units attribute to "exclude from translation" via WinTrans' COM interface? |
27.10.2011 11:41:49
Topic:
Changed Source
hayhurst
|
Excellent I'll give that a go |
03.11.2011 15:17:27
Topic:
String resources in .rc files that end """
hayhurst
|
Hi
I have recently changed some of my source .rc files to be unicode
I have a problem with string resources in these .rc files whose source text ends in with 2 quote marks like so...
IDS_DONT_QUOTE_ME "this will cause a problem in wintrans ""believe me"""
After updating source in wintrans the above resource would be marked as "changed source" in the Translation Edit Bar the previous source text shows as:
this will cause a problem in wintrans "believe me"
The current source text is:
this will cause a problem in wintrans "believe me"believe me
WinTrans for some reason bolts on what is between the set of double quotes in the original resource string in this case "believe me".
I'm using RC-WinTrans X8 Global 8.8.6.2
Cheers
James |
09.11.2011 18:15:46
Topic:
String resources in .rc files that end """
hayhurst
|
Hi,
I'm using RC-WinTrans [font=Arial, Tahoma]8.8.6.2[/font] is this dll supposed to work with version 8?
When I use the dll you sent with version 8 I get the following error on updating my source .rc files
Error (401): The file "C:\SVN\14.7\Modeller\code\LUSASres\LUSASres.rc" could not be converted to the internal processing format. Failed!
Cheers
James |
10.11.2011 11:38:24
Topic:
String resources in .rc files that end """
hayhurst
|
I'd rather not do that as it changes the source text spaces may not be appropriate in the original text.
Can you build an X8 compatible dll for me? |
11.11.2011 11:41:32
Topic:
String resources in .rc files that end """
hayhurst
|
Brilliant that works perfectly.
Thanks for your help. |
11.04.2013 17:03:44
Topic:
Images have "Unknown Type (Stringtable)"
hayhurst
|
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 |
17.05.2016 12:32:27
Topic:
Error: data file is not initialized
hayhurst
|
We have just upgraded to the latest version of WinTrans 10.3, previously we were using X8.
I have created a translation project in the usual way, and sent it to our Chinese translators. They are using version 10.2 of the Translator edition of WinTrans. When they open the translation project that I sent they get the following error message in the output window for every "file" in the project:
Error: data file is not initialized! Source file: G:\Documents\[Chinese characters]\...
there are also red question marks overlaying the icons for each "file" in the projects tab.
Of course the translation project does not and should not contain any of the source files that are to being translated.
When I try opening the translation project on my machine it opens without a problem.
Any Idea what is happening? Could the problem be the Chinese characters in the path to the translation project???? edited by hayhurst on 17.05.2016 |
18.05.2016 11:09:16
Topic:
Error: data file is not initialized
hayhurst
|
Thanks will get them to give it a try. Our software also uses the ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" feature so I guess they may already have it turned on (by the way can get your installer to turn it on for you) |
18.05.2016 12:18:14
Topic:
Error: data file is not initialized
hayhurst
|
You definitely can get your installer (bootstrapping setup.exe) to turn on the feature for you, I know because I author our installer and we turn on the same feature.
I used the export feature in wintrans to export a translation project and zip the project up. So effectively yes we did send them a .fsmdb database file contained in the exported zip file. |
19.05.2016 18:20:50
Topic:
Error: data file is not initialized
hayhurst
|
Our translators are running windows 7 64 bit so no ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" feature.
They are unzipping before opening the project edited by hayhurst on 19.05.2016 |
23.05.2016 15:44:02
Topic:
Error: data file is not initialized
hayhurst
|
Ok email sent |
1
|