Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure language installer #48

Closed
HumanG33k opened this issue Aug 13, 2020 · 3 comments
Closed

Configure language installer #48

HumanG33k opened this issue Aug 13, 2020 · 3 comments

Comments

@HumanG33k
Copy link

Maybe it's not related to JavaPackager but only languages present for installer (windows) :

  • English
  • Spanish
@fvarrui
Copy link
Owner

fvarrui commented Aug 15, 2020

Yes, it's related to JavaPackager 😄 .

There's a VTL template for Inno Setup here.

You can create your custom template in ${basedir}\assets\windows\iss.vtl and add more languages in the Languages category:

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
...

I've got these available:

image

@fvarrui
Copy link
Owner

fvarrui commented Aug 22, 2020

Hi @HumanG33k!
Finally I added a new property to customize Windows setup languages, which works this way:

<winConfig>
    <setupLanguages>
        <english>compiler:Default.isl</english>
        <french>compiler:Languages\French.isl</french>
        <german>compiler:Languages\German.isl</german>
    </setupLanguages>
</winConfig>

and produce a setup like this:

image

I hope it helps.

Plugin version: 1.2.0-SNAPSHOT, which requires manual installation.

@fvarrui
Copy link
Owner

fvarrui commented Sep 16, 2020

Hi @HumanG33k!
I'm not sure if you could try this new feature, but it's now published in v1.2.0.
Thanks!

@fvarrui fvarrui closed this as completed Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants