Forum: Wordfast support
Topic: Translate xml file in WordFast Pro
Poster: Samuel Murray
Post title: @Ulrike
[quote]Ulrike Glaese wrote:
I have managed to open it in Wordfast Pro 4 (I usually only ever use WordFast Classic). So I do not even know whether WFP 3 or 4 is the better tool for me. I was able to open it, but it is (despite a .properties file) still chock full of tags and the like - in fact it looks just like it does in an xml editor. [/quote]
Where did you get the .properties file from? Did you create it yourself or was it created by someone else who had used it to translate this file format before?
Are you aware of this page?
[url removed]
==
Added:
I've never used XML .properties files in WFP, but I tried my hand at it, and it appears that this might work for you:
paragraphPrefix.1=Translation=\\"
paragraphSuffix.1=\\"
paragraphFormat.1=html-included
internalTag.1=<.*?>
internalTag.2=<[^>].*?>
internalTag.5=\\$\\{[^\\{]*?\\}
internalTag.4=&[^ ;]*?;
internalTag.3=&[^; ]*?;
There does not seem to be a way in WFP to translate the values of specific attributes, or do specify a source and target attribute, so the above filter will only work if the "Translation" attribute in your XML files have a value (which it seems to have).
[Edited at 2016-11-15 09:23 GMT]
Topic: Translate xml file in WordFast Pro
Poster: Samuel Murray
Post title: @Ulrike
[quote]Ulrike Glaese wrote:
I have managed to open it in Wordfast Pro 4 (I usually only ever use WordFast Classic). So I do not even know whether WFP 3 or 4 is the better tool for me. I was able to open it, but it is (despite a .properties file) still chock full of tags and the like - in fact it looks just like it does in an xml editor. [/quote]
Where did you get the .properties file from? Did you create it yourself or was it created by someone else who had used it to translate this file format before?
Are you aware of this page?
[url removed]
==
Added:
I've never used XML .properties files in WFP, but I tried my hand at it, and it appears that this might work for you:
paragraphPrefix.1=Translation=\\"
paragraphSuffix.1=\\"
paragraphFormat.1=html-included
internalTag.1=<.*?>
internalTag.2=<[^>].*?>
internalTag.5=\\$\\{[^\\{]*?\\}
internalTag.4=&[^ ;]*?;
internalTag.3=&[^; ]*?;
There does not seem to be a way in WFP to translate the values of specific attributes, or do specify a source and target attribute, so the above filter will only work if the "Translation" attribute in your XML files have a value (which it seems to have).
[Edited at 2016-11-15 09:23 GMT]