spartacus
26th June 2003, 17:11
I copy a text with text.write() from from a file to tttxt010, let's say in german language.
The correspondent english text exists in an other file.
How can I add the english text, to the same textnumber?
Thanks
Spartacus
NvanBeest
26th June 2003, 17:20
Combine the files to one temporary file before calling text.write() would be the easiest solution.
spartacus
26th June 2003, 17:33
But then I have one text let's say in german witch consists out of an english and german part?
I just tried "text.rewrite()". In case the "text_field" parameter contains the same value (textnumber) as before with
"text.write()" everything seems to be right.
Spartacus
NvanBeest
26th June 2003, 17:45
Sorry Spartacus. I thought you wanted a combined text field, with maybe a couple of blank lines inbetween. But you want to add the English text for the users using English, and the German text for the German users. Correct?
So, by calling text.rewrite() with a different language code, it solved the problem?
klixy23
27th June 2003, 11:33
How about "text.write()" to create the german text, then "text.copy.language()" to copy the german text to english and then "text.rewrite()" to store the english text from file.
Have a nice day!
spartacus
4th July 2003, 12:28
Hi all,
thanks for your support.
Solved the thing. I just use the function "text.rewrite()" if I enter text for the same textnumber in an other language. "text.rewrite()" seems not to generate a new textnumber
Spartacus