Does the script created on English UI runs on Localized UI (German or Japanese)?

Asked by Sreekanth

Hi,
I've created some actions on the English UI of the product, does this script works on the Localized UI like German or Japanese? or do i need to create a new script for Localized UI.
Is there any possibility that single script can be used on multiple languagle platforms?

Regards,
Sreekanth

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Sreekanth
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

If you did not use any locale dependent features of Jython (e.g. date/time formatting), them the script should work with every locale.

Revision history for this message
Sreekanth (sreekanth-challa27) said :
#2

Let me put in this way: i've created a simple script of clicking of certain buttons on English UI ( where labels like Cancel,help etc are in english). Now i would like to run this on Japanese UI (where above mentioned labels are translated). Does this english script which was created earlier works on the localized UI?

Revision history for this message
Sreekanth (sreekanth-challa27) said :
#3

i've given a try, EN scripts are not working on Japanese UI & viceversa. Is there any possibility to add this as a feature in upcoming releases.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

This is what I said above:
If you use any features or images, that are locale dependent, you have to take care yourself for different locales (as every other application has to do).

There will never be a feature, that automagically translates any text in given images (e.g. buttons) to other locales.

If you need that, you have to build your own image libraries (one set of images for each locale).

Another way to solve this problem, is to evaluate the relative positions of locale dependent elements to not locale dependent visual elements and use these region objects in your scripts instead of images.

Revision history for this message
Sreekanth (sreekanth-challa27) said :
#5

Thanks Raiman for your suggestions. i'll give a try with the positions.