Search code examples
javaeclipseantexelaunch4j

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"?


Solution

  • 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.