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

Localized names for desktop launchers #829

Open
mikedawson opened this issue Feb 7, 2024 · 0 comments
Open

Localized names for desktop launchers #829

mikedawson opened this issue Feb 7, 2024 · 0 comments

Comments

@mikedawson
Copy link
Member

Is your feature request related to a problem? Please describe.
Windows and Linux installer should install localized names that should be used based on the language of the OS so the name of the app visible on the desktop / start menu is shown in the user's active language

Describe the solution you'd like
As above

Describe alternatives you've considered
Can use one single name

Additional context

As per Hydraulic discord:

In Windows, you can override the MSIX display name by setting app.windows.manifests.msix.display-name (which by default takes the value of app.display-name). The value in that field ends up in the Appx manifest under <Package/Properties/DisplayName>: https://learn.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-displayname
The value of that field is a localizable string. You might be able to set it to an ms-resource URI pointing to strings in a PRI file. Beware though that Conveyor will generate a resources.pri file for fixing an issue with icons, so you should try a different name.
This is the general Microsoft guide for localizing strings in UWP (MSIX) apps.
https://learn.microsoft.com/en-us/windows/uwp/app-resources/localize-strings-ui-manifest
If you get it working, please let us know.

For macOS:
For macOS, you can override app.mac.info-plist.CFBundleDisplayName and add string resource files (lproj) as you'd normally do with macOS apps.
It would be interesting if Conveyor could provide a way to localize app metadata once for all platforms. We might consider it as a feature at some point.
Please let us know if you get this working for you.

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

No branches or pull requests

1 participant