Forum Discussion
googleid_105613
12 years agoOccasional Contributor
Sergi,
You're not interrupting, this is what Forums are for! Users helping users!
Here's what I did:
I have two files that I use for translations. One contains a tab-delimited dump from Excel of the strings for the languages we support, as well as an ID so we can reference the terms. It looks kind of like this....
999 Yes Oui Ja Si
Another contains a mapping, so we can refer to it in the scripts. It looks kind of like this...
Global.Yes, 999
When our tests start up, they load the "dictionary" into an array. Our application stores the current language configuration in the registry, so we look there to find out how the application is configured. We then load up the mapping file, pushing the mapping and the current "definition" of the term into a global array which can be accessed by the scripts.
It's working pretty well now.
You're not interrupting, this is what Forums are for! Users helping users!
Here's what I did:
I have two files that I use for translations. One contains a tab-delimited dump from Excel of the strings for the languages we support, as well as an ID so we can reference the terms. It looks kind of like this....
999 Yes Oui Ja Si
Another contains a mapping, so we can refer to it in the scripts. It looks kind of like this...
Global.Yes, 999
When our tests start up, they load the "dictionary" into an array. Our application stores the current language configuration in the registry, so we look there to find out how the application is configured. We then load up the mapping file, pushing the mapping and the current "definition" of the term into a global array which can be accessed by the scripts.
It's working pretty well now.
Related Content
- 5 years ago
- 4 years ago
- 10 years ago
- 11 years ago
- 12 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 6 days ago