multi lingual application and the OR parameters
We are trying to solve a multi language problem in our application.
Our application works with 5 languages and some objects can only be recognized by their Text.
I want to replace the text property of these objects by a repository parameter, Then we want to upload all translations from an excel file into the environment object => This all works fine
The problem now is that i want to prgramatically update the value of these object repository parameters so that i can set their value to the appropriate environment parameter.
Ex. in Excel we have ButtonOK => "Bevestig" ButtonCancel => "Annuleer",...
We upload these axcel values to the enviroment object => Environment("ButtonOK"), Environment("ButtonCancel")
In our OR we indicated that the property text of these objects should be replaced by a OR parameter with the name ButtonOK and ButtonCancel
Now i need a way to programatically set the value of the OR parameter ButtonOK = Environment("ButtonOK") and ButtonCancel = Environment (
Or perhaps i'm looking completly wrong at our multi language problem??
We just don't want to work with Regular Expression in the OR property (for the multi language aspect) definitions bacause the translations sometimes change [img]/images/graemlins/smile.gif[/img]
Could someone explain how they manage multi language applications?
Re: multi lingual application and the OR parameters
Bjorn do a search of the QTP forum for Localization or Localisation.
p.s. I have given a small example in reply to your TDForums post.