Jump to content

Multiple Translation Tools


pinkfoyd
 Share

Recommended Posts

Hi,

Here is a tool coded in AutoIt to edit multiple ini files ( up to 8 at the same time) to include multilanguage support in your script.

20160629_17h42m25_capture.png

 

 

The script himself have multilanguage support, simply by using :

To change language, i read my global.ini file witch inform me what ini file i had to use...

ConsoleWrite ( _string_lang(19) )

Func _string_lang($number)

    $number = _StringRepeat("0",6-StringLen($number)) & $number
    $string = IniRead($my_ini_folder & $interface_ini_file,"STRING",$number,"NOT_FOUND")
    Return($string)

EndFunc

 

where 19 is the 19 string in ini file witch look like this :

Quote

[LANGUAGE]
LANGUAGE=English

[STRING]
000001=Modify
000002=Add
[...]
000019=About
000020=Index

 

  • Todo :

Initial ini file not necessarily "english.ini"

 

 

Feel free to use it, give me idea, critical or bug found.....

 

As i am french please be gently ;)

 

Multilangue_autoit.zip

Edited by pinkfoyd
Link to comment
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
 Share

×
×
  • Create New...