JEP-343: jpackage Windows installer localization

Alexey Semenyuk alexey.semenyuk at oracle.com
Thu Oct 10 18:52:23 UTC 2019


Sverre,

I've captured your input in [1]. Currently Windows installers are not 
localized. We just have sources structured to support localization.
This is a major effort to implement if multiple languages in msi 
installers generated by jpackage are required.

[1] https://bugs.openjdk.java.net/browse/JDK-8232136

- Alexey

On 10/10/2019 1:46 PM, Sverre Moe wrote:
> It should be possible to provide localized strings to the Windows installer
> with jpackage.
>
> WiX supports building localized installers through the use of language
> files that include localized strings.
> https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/make_installer_localizable.html
>
> There are three localization resources for Windows in jpackage.
> Though there is only one String in those three localization files,
> "message.install.dir.exist", all in English and there are more Strings in
> English in the main.wxs file that are not localized.
> MsiInstallerStrings_en.wxl
> MsiInstallerStrings_ja.wxl
> MsiInstallerStrings_zh_CN.wxl
>
> These could be customized by providing an application_en.wxl or
> application_es.wxl, or any other language to the resource directory.
> Perhaps also allow for further customization by providing an
> application.wxs to the resource directory to use instead of the main.wxs.
>
> /Sverre



More information about the core-libs-dev mailing list