Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the language parameter of an exe file generated by launch4j?

I'm producing a windows executable EXE file of my java program with an ANT task of launch4j in Eclipse. In the ANT task I'm using a saved launch4j config file (xml) and additionally overwrite the version information.

<launch4j
    configFile="${launch4j.config.dir}/paginaEPUBChecker.xml"
    fileVersion="${program.version.number}"
    txtFileVersion="${program.version.txtNumber}"
    productVersion="${program.version.number}"
    txtProductVersion="${program.version.txtNumber}"
/>

Everything is working perfect so far. The executable is built and runs just fine.

But when looking into the file's property details (right click => properties => details) I get the "language" property with the value "English (US)" even though I'm working with a German Windows version and therefore would expect it to be "German".

Do you know whether there is a (probably hidden or undocumented?) launch4j config option to set the language property to "German"?

like image 418
ToFi Avatar asked Feb 07 '12 23:02

ToFi


1 Answers

This was indeed a missing feature in launch4j back then.

Version 3.9 (2016-07-20) added this feature and it works fine.

See CHANGELOG and issue for details.

like image 176
ToFi Avatar answered Sep 18 '22 10:09

ToFi