Skip to content

Translated .msi installers #2928

Description

@VFLins

What is the problem or limitation you are having?

The WiX tooling used to generate .msi installers for Windows have features for handling different installer languages, but this is not exposed to the briefcase user.

Describe the solution you'd like

The ideal solution would be something in the lines of

briefcase would allow a list of language codes to be passed to the cli or the the tool.briefcase.app.<appname>.windows section of the pyproject.toml file. The first item of the list should be the initial/fallback language displayed by the installer, and if the list has more than one value, the first installation step should display a language selction that translates the installer's GUI.

The user's choice would then be available to a post-install script, to make the language selected by the user during installation reflect the installed program's language.

But .msi installers apparently do not implement a languge selector

So according to this thread, the solution that looks possible to implement is a installer that will show itself in one of the preconfigured languages based on the Windows' language. This multi-language approach is, based on this article, undocumented and not well tested by Microsoft, altough it's an old article.

The more documented and simpler solution

The WiX toolset handles single language installers, it requres a .wxl markup file that provides a translation to every text present in the installer's GUI. In this case, briefcase would need one those files translating the defualt installation process for each language supported by briefcase, and apparently, some files already exists.

Describe alternatives you've considered

Briefcase currently does not support languages on .msi Windows installers.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, or improvements to existing features.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions