Scripts to be used on a multilingual environement
I have just read Cindy's reply as well, and I do it exactly the same way as she describes.
I have not as yet come across a better or easier way of maintaining multi-language tests.
Re: Scripts to be used on a multilingual environement
Apologies for taking so long to reply - I have been working too hard.
I have found the only feasible way to translate the scripts is as you say - cut and paste the new text into the script and use an if/or statement or a case statement, the case of 5 languages.
I haven't come up with anything better for a large amount of tests. For a small number of tests you could put a large case statement into a function and call the function to translate a string. This is not practical if the case statement gets too big.
I have generally put the language-specific text in the test in variables at the top of the test (easy to maintain) and then use the variable within the test for checking. For five or so languages, you could use an array of strings, set your index to a specific value per language, and use that index throughout the test.
I hope these ideas help. I am moving job shortly - my new e-mail will be firstname.lastname@example.org if you wish to contact me. Next time I shall not take so long to reply.