home recent topics recent posts search faq  

RC-WinTrans Forum



register | lost password | |

Balki - all messages by user

12.09.2012 17:37:36
Topic:
Update source files mark strings as 'new'

Balki
Balki
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
12.09.2012 19:09:43
Topic:
Update source files mark strings as 'new'

Balki
Balki
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?
12.09.2012 19:35:04
Topic:
Update source files mark strings as 'new'

Balki
Balki
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 ;-)
17.01.2014 12:45:45
Topic:
Error (190): The data file could not be saved:

Balki
Balki
Hi,
can you tell where was an issue?
Same error happen also to me.
Btw I'm using .fsmdb file format, RC-WinTrans 9.3 version and it doesn't happen to other colleagues.
Regards,
Balki
edited by Balki on 17.01.2014
pages: 1




Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software