Jump to content
Sign in to follow this  

Displaying dialog in multiple languages

Recommended Posts


In the previous versions of AutoIt, it was possible to store double-byte character languages like Japanese, Chinese, and Korean in a UTF8 format ini file. Then by simply accessing the various fields in the ini file, configuring the script dialogue for different languages.

In this latest version, how can something like this be implemented? I do not understand the changes that have been made, nor why they were made.

I used to save dialog for multiple languages in ini files in UTF8 format like so:


$title = "Sophos Security Suite Install"


$title = "Instalación del Paquete de Seguridad Sophos"


$title = "Sophos Security Suite 설치"


$title = "安裝 Sophos Security Suite"


$title = "Sophos Security Suite インストール"

Then I'd determine the language an OS is displaying in, and set the variables to the appropriate language.


$lang = "Japanese"

$title = Translate("$title")

Func Translate($txt)

Return IniRead(@TempDir & "\Sophoslang.ini", $lang, $txt, IniRead(@TempDir & "\Sophoslang.ini", "English", $txt, $txt))

EndFunc ;==>Translate

Does anyone have any suggestions on how to get something similar to work in this latest version of AutoIt?

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this