home recent topics recent posts search faq  

RC-WinTrans Forum



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

Home » RC-WinTrans Support » Update source files mark strings as 'new'

For support issues and specific questions related to RC-WinTrans' use, features and functions.
12.09.2012 17:37:36

Balki
Balki
Posts: 4
Hallo,
I have project in which when I update source files it will mark the state of all the strings below new string as 'new' even they are not changed.
Looks like it happen only if I use macro to convert my XCode strings files to XLIFF format.
The macro that I use is updated ADM fileConverter macro.
Do I have to add there some methods to add attributes to each string node with the state parameter or is there any other way to slove it?
Thanks,
Peter
0 permalink
12.09.2012 19:09:43

Balki
Balki
Posts: 4
Btw one more finding. When I show in rc-wintrans translation unit of xliff file and selelct database tab I see that one translation unit is inside of previous one:
<trans-unit id="none" resname="4.text" restype="string" rwt:crc="8d3d182c" xmlns:rwt="http://www.schaudin.com/xmlns/rwt11" >
<source>Preview</source>
<target state="translated" >Preview</target>
- <trans-unit id="none" resname="8.text" restype="string" rwt:crc="46884a25" xmlns:rwt="http://www.schaudin.com/xmlns/rwt11" >
<source>Brightness</source>
<target state="translated" >Brightness</target>
...
it that a bug in VBA Function AddTransUnit(ParentNodeNumber As Long, SourceLanguage As String, SourceText As String, TargetText As String) As Long
Member of RCWinTrans.XLIFFFile
that it doesn't close the node?
0 permalink
12.09.2012 19:35:04

Balki
Balki
Posts: 4
Ok solved :-)

In the sample source file there was missing line:
GroupNO = XLIFFDataFile.AddGroup(GroupNO)
after that one:
fileno = XLIFFDataFile.AddFileSection(SrcLangcode, SrcFile, FILETYPE_XSTRINGS)
If fileno = -1 Then
Err.Raise 512, , "Creating the DOM element <file> failed!"
End If

So now I got RC-Wintrans supporting Apple Xcode strings ;-)
0 permalink
12.09.2012 20:02:41

Werner
Werner
Administrator
Posts: 14
Very good Peter! Perfect!

Werner
0 permalink

Home » RC-WinTrans Support » Update source files mark strings as 'new'





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software