Guest edwardt_tril Posted November 30, 2004 Share Posted November 30, 2004 in visual test we can do localization of those windows titile text, button text, as long as those strings are found in the string table .. so that we don't need to write those same function again and again and wrose of all, testing them again and again and again .. GOSH ... just becasue the underlying product display differently in other language does autoit allow this kind of functionality? please post your scripts or any suggestion ..... Link to comment Share on other sites More sharing options...
erebus Posted November 30, 2004 Share Posted November 30, 2004 If I understood correctly: You may write your texts in an ini file, dividing it to language sections as desired (i.e... [English] Text1=Welcome to my program Text2=Press this button Text3=to exit [Greek] Text1=Καλώς ήρθατε στο πρόγραμμά μου Text2=Πατήστε αυτό το πλήκτρο Text3=για να κλείσετε το πρόγραμμα After that you will call each option (Text1, Text2 etc) depending on the Regional Setting of each user, or the language it prefers based on a check in your program... That's all. Link to comment Share on other sites More sharing options...
roctavio Posted February 18, 2007 Share Posted February 18, 2007 That option to have the translated strings seems easy until you start dealing with a huge UI where the button text or dialogs are constantly changing. Is there a way to script for a button ID instead of the specific text. This would make the script work no matter what language/text was displayed in the button. Link to comment Share on other sites More sharing options...
Shevilie Posted February 18, 2007 Share Posted February 18, 2007 Autoit Info Tool - Look for classname or id Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now