Sign in to follow this  
Followers 0
slightly_abnormal

Set Complier Language?

7 posts in this topic

I want to to change "Language: English (United Kingdom)" to English (United States) or someother country, but i dont see any way on how to do this.. :) just says error

#region - Compiler Directives

#Compiler_Prompt = n

#Compiler_Aut2Exe = C:\Program Files\AutoIt3\Beta\Aut2Exe\Aut2Exe.exe

#Compiler_Icon = blabla.ico

#Compiler_Compression = 2

#Compiler_Allow_Decompile = n

#Compiler_Res_FileVersion_AutoIncrement=y

#Compiler_Res_FileVersion = 0.10.0.8

#Compiler_Language= English (United States)

#Compiler_Res_Description = Whatever whatever

#Compiler_Res_LegalCopyright = whoever

#Compiler_Res_Comment = why me why me

#Compiler_Res_Field = Platform|whatever

#Compiler_Res_Field = AutoIt Version|%AutoItVer%

#compiler_Res_Field = Silent Install|/Silent

#Compiler_Run_AU3Check = y

#endregion

Share this post


Link to post
Share on other sites



This does not exist either, but give it a try. :)

#Compiler_FuzzyLogic = y

Share this post


Link to post
Share on other sites

This does not exist either, but give it a try. :mellow:

#Compiler_FuzzyLogic = y
what is it supposed to do? :)

Share this post


Link to post
Share on other sites

what is it supposed to do? :)

Obviously nothing if it doesn't exist.

Share this post


Link to post
Share on other sites

Correct. It does not exist.

I am sure JdeB may look into it if requested in a nice manner.

Share this post


Link to post
Share on other sites

Obviously nothing if it doesn't exist.

:)

Share this post


Link to post
Share on other sites

Isn't it hard coded in the C:\Program Files\AutoIt3\SciTE\CompileAU3\CompileAU3.au3 file? Should it be?

snippet...

;Create the RC file to be processed by the RC.exe

Func Create_RES($Comment, $Description, $Fileversion, $LegalCopyright)

If $Fileversion = "" Then $Fileversion = $AUT2EXE_PGM_VER

FileDelete($TempRCPath)

$Fileversion = Valid_FileVersion($Fileversion)

FileWriteLine($TempRCPath, '1 VERSIONINFO')

FileWriteLine($TempRCPath, 'FILEVERSION ' & StringReplace($Fileversion, ".", ","))

FileWriteLine($TempRCPath, 'PRODUCTVERSION ' & $AUT2EXE_PGM_VER)

FileWriteLine($TempRCPath, 'FILEOS 0x4')

FileWriteLine($TempRCPath, 'FILETYPE 0x0')

FileWriteLine($TempRCPath, '{')

FileWriteLine($TempRCPath, 'BLOCK "StringFileInfo"')

FileWriteLine($TempRCPath, '{')

FileWriteLine($TempRCPath, ' BLOCK "080904b0"')

FileWriteLine($TempRCPath, ' {')

FileWriteLine($TempRCPath, ' VALUE "Comments", "' & $Comment & '"')

FileWriteLine($TempRCPath, ' VALUE "FileDescription", "' & $Description & '"')

FileWriteLine($TempRCPath, ' VALUE "FileVersion", "' & $Fileversion & '"')

FileWriteLine($TempRCPath, ' VALUE "LegalCopyright", "' & $LegalCopyright & '"')

If $INP_FieldName1 & $INP_FieldValue1 <> "" Then FileWriteLine($TempRCPath, ' VALUE "' & $INP_FieldName1 & '", "' & $INP_FieldValue1 & '"')

If $INP_FieldName2 & $INP_FieldValue2 <> "" Then FileWriteLine($TempRCPath, ' VALUE "' & $INP_FieldName2 & '", "' & $INP_FieldValue2 & '"')

For $U = 1 To $INP_RES_FieldCount

If $INP_FieldName[$U] <> "" And $INP_FieldValue[$U] <> "" Then

$INP_FieldValue[$U] = StringReplace($INP_FieldValue[$U], "%AutoItVer%", $AUT2EXE_PGM_VER)

$INP_FieldValue[$U] = StringReplace($INP_FieldValue[$U], "%Date%", _NowDate())

$INP_FieldValue[$U] = StringReplace($INP_FieldValue[$U], "%LongDate%", _DateTimeFormat(_NowCalcDate(), 1))

$INP_FieldValue[$U] = StringReplace($INP_FieldValue[$U], "%Time%", _NowTime())

FileWriteLine($TempRCPath, ' VALUE "' & $INP_FieldName[$U] & '", "' & $INP_FieldValue[$U] & '"')

EndIf

Next

; If $F2N <> "" Then FileWriteLine($TempRCPath, ' VALUE "' & $F2N & '", "' & $F2V & '"')

FileWriteLine($TempRCPath, ' }')

FileWriteLine($TempRCPath, '}')

FileWriteLine($TempRCPath, '')

FileWriteLine($TempRCPath, 'BLOCK "VarFileInfo"')

FileWriteLine($TempRCPath, '{')

FileWriteLine($TempRCPath, ' VALUE "Translation", 0x0809 0x04B0')

FileWriteLine($TempRCPath, '}')

FileWriteLine($TempRCPath, '}')

EndFunc ;==>Create_RES

The VALUE "Translation", 0x0809 0x04B0 define the country codes, don't they?

Try 0x0409 instead of 0x0809 and see what happens.

Refer http://msdn.microsoft.com/library/default....tl/nls_238z.asp for the definitive list of country codes.

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  
Followers 0